allow string based values for comboboxarray
[roojs1] / Roo / CalendarPanel.js
index 4b58ae8..1755aa4 100644 (file)
@@ -25,7 +25,7 @@ Roo.CalendarPanel = function(config){
         
     //this.wrapper.dom.appendChild(grid.getGridEl().dom);
     
-//    Roo.CalendarPanel.superclass.constructor.call(this, this.wrapper, config);
+    Roo.CalendarPanel.superclass.constructor.call(this, this.wrapper, config);
     
     Roo.log(this.el);
     
@@ -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);
         //}