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

index d9f18b5..e6cce21 100644 (file)
@@ -721,11 +721,11 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
                 
                 ev.els.push(cg);
 //                
-//                var sbox = rows[i].start.select('.fc-day-content',true).first().getBox();
-//                var ebox = rows[i].end.select('.fc-day-content',true).first().getBox();
+                var sbox = rows[i].start.select('.fc-day-content',true).first().getBox();
+                var ebox = rows[i].end.select('.fc-day-content',true).first().getBox();
 //                //Roo.log(cg);
 //                cg.setXY([sbox.x +2, sbox.y +(ev.row * 20)]);    
-//                cg.setWidth(ebox.right - sbox.x -2);
+                cg.setWidth(ebox.right - sbox.x -2);
             }