Roo/calendar/View.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 11:05:31 +0000 (19:05 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 11:05:31 +0000 (19:05 +0800)
Roo/calendar/View.js

index 262027f..12696c4 100644 (file)
@@ -250,20 +250,6 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
                     tag: 'tbody',
                     cn : this.monthBody()
                 });
-                
-        ret.cn.push({
-                    tag: 'div',
-                    cls : 'fc-view fc-view-month fc-grid',
-                    style : 'position: relative',
-                    unselectable : 'on',
-                    cn : [
-                        {
-                            cls : 'fc-event-container',
-                            style : 'position:absolute;z-index:8;top:0;left:0;'
-                        }
-                    ]
-                
-        });
         return ret;
     },
     
@@ -281,9 +267,18 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
             cls : 'fc-content',
             style : "position: relative;",
             cn : [
-                
+                {
+                    cls : 'fc-view fc-view-month fc-grid',
+                    style : 'position: relative',
+                    unselectable : 'on',
+                    cn : [
+                        {
+                            cls : 'fc-event-container',
+                            style : 'position:absolute;z-index:8;top:0;left:0;'
+                        },
                         this.monthTable()
-                    
+                    ]
+                }
             ]
 
         });