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

index 1c36aa6..368d40f 100644 (file)
@@ -250,6 +250,20 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
                     tag: 'tbody',
                     cn : this.monthBody()
                 });
+                
+        ret.cn.push({
+            
+                    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;
     },
     
@@ -268,7 +282,8 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
             style : "position: relative;",
             cn : [
                 
-                    this.monthTable()
+                        this.monthTable()
+                    
             ]
 
         });