allow string based values for comboboxarray
[roojs1] / Roo / CalendarPanel.js
index 065114a..1755aa4 100644 (file)
@@ -22,10 +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);
-    Roo.log(this.config);
-//    Roo.log(Roo.DomHelper.append(document.body),{}, true);
-    return;
+        
     //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);
         //}