Roo/CalendarPanel.js
authorAlan Knowles <alan@roojs.com>
Wed, 9 Apr 2014 02:05:08 +0000 (10:05 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 Apr 2014 02:05:08 +0000 (10:05 +0800)
Roo/CalendarPanel.js

index 23ffa34..1006dca 100644 (file)
@@ -106,37 +106,10 @@ Roo.CalendarPanel = function(config){
 
 Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, {
     
-    startDay : 0,
-    
-    getId : function(){
-        return this.id;
-    },
-    /*
-    setSize : function(width, height){
-        if(!this.ignoreResize(width, height)){
-            var grid = this.grid;
-            var size = this.adjustForComponents(width, height);
-            grid.getGridEl().setSize(size.width, size.height);
-            grid.autoSize();
-        }
-    },
-    
-    beforeSlide : function(){
-        this.grid.getView().scroller.clip();
-    },
-    
-    afterSlide : function(){
-        this.grid.getView().scroller.unclip();
-    },
-    */
-    destroy : function(){
-      //  this.grid.destroy();
-       // delete this.grid;
-        Roo.GridPanel.superclass.destroy.call(this);
-         
-    },
+      
     render : function()
     {
+        var ct = this.el.appendChild(document.createElement("div"));
         this.onRender(this.el, false)
     },
     
@@ -149,6 +122,7 @@ Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, {
         
         Roo.log("render calendar");
         
+        
         //Roo.bootstrap.Component.superclass.onRender.call(this, ct, position);