X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FCalendarPanel.js;h=1755aa4a64eb291824991c15be6d5cc1660ae0b6;hb=refs%2Fheads%2Fwip_leon_T7094_logo_image_upload_in_boilerplate;hp=35f10f3e45a7f4ba607ede4c80c67afa116e9ef6;hpb=126af3b97d89e4458f94e0c98721434ac0325497;p=roojs1 diff --git a/Roo/CalendarPanel.js b/Roo/CalendarPanel.js index 35f10f3e45..1755aa4a64 100644 --- a/Roo/CalendarPanel.js +++ b/Roo/CalendarPanel.js @@ -21,11 +21,8 @@ Roo.CalendarPanel = function(config){ Roo.log("cal panel ctr"); this.wrapper = Roo.DomHelper.append(document.body, // wrapper for IE7 strict & safari scroll issue - {tag: "div", cls: "x-layout-grid-wrapper x-layout-inactive-content", ns: true}, true); - Roo.log(this.warpper); - Roo.log(this.config); -// Roo.log(Roo.DomHelper.append(document.body),{}, true); - return; + {tag: "div", cls: "x-layout-grid-wrapper x-layout-inactive-content"}, true); + //this.wrapper.dom.appendChild(grid.getGridEl().dom); Roo.CalendarPanel.superclass.constructor.call(this, this.wrapper, config); @@ -45,14 +42,14 @@ Roo.CalendarPanel = function(config){ } this.view = new Roo.calendar.View(Roo.apply({ skipNavHeader : true, - skipMonthHeader : true + skipMonthHeader : false },config)); this.on('activate', function() { - Roo.log('CalendarPanel.js activate'); + Roo.log('activate'); //console.log('render tree'); this.render(); @@ -127,7 +124,7 @@ Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, { } this.rendered = true; - Roo.log("CalendarPanel.js render calendar"); + Roo.log("render calendar"); //Roo.bootstrap.Component.superclass.onRender.call(this, ct, position); @@ -160,8 +157,7 @@ Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, { } this.view.el = ct.createChild(cfg, position); - Roo.log('this.view'); - Roo.log(this.view); + //if(this.tabIndex !== undefined){ // this.el.dom.setAttribute('tabIndex', this.tabIndex); //}