X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FCalendarPanel.js;h=1755aa4a64eb291824991c15be6d5cc1660ae0b6;hb=75cbc4ce04c9c01ac47671cb01320ce699128d00;hp=f7943129bca77033ad6db6d9e937825565facdd1;hpb=e6e72b0f721af9c73f1bda05826e6336e65073c8;p=roojs1 diff --git a/Roo/CalendarPanel.js b/Roo/CalendarPanel.js index f7943129bc..1755aa4a64 100644 --- a/Roo/CalendarPanel.js +++ b/Roo/CalendarPanel.js @@ -22,7 +22,7 @@ Roo.CalendarPanel = function(config){ 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"}, true); - Roo.log(this.warpper);return; + //this.wrapper.dom.appendChild(grid.getGridEl().dom); Roo.CalendarPanel.superclass.constructor.call(this, this.wrapper, config); @@ -42,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(); @@ -124,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); @@ -157,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); //}