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

index 12696c4..22843c2 100644 (file)
@@ -250,6 +250,13 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
                     tag: 'tbody',
                     cn : this.monthBody()
                 });
+                
+        ret.cn.push({
+            
+                            cls : 'fc-event-container',
+                            style : 'position:absolute;z-index:8;top:0;left:0;'
+                        
+        });
         return ret;
     },
     
@@ -272,10 +279,7 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
                     style : 'position: relative',
                     unselectable : 'on',
                     cn : [
-                        {
-                            cls : 'fc-event-container',
-                            style : 'position:absolute;z-index:8;top:0;left:0;'
-                        },
+                        
                         this.monthTable()
                     ]
                 }