Roo/calendar/View.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:23:38 +0000 (20:23 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:23:38 +0000 (20:23 +0800)
Roo/calendar/View.js

index ccd73c2..1c883f6 100644 (file)
@@ -725,10 +725,11 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
 //                //Roo.log(cg);
                 cg.setXY([sbox.x +2, sbox.y +(ev.row * 20)]);   
 //                Roo.log(rows[i]);
-                var boxes = Math.ceil((rows[i].end.dateValue - rows[i].start.dateValue) / 86400000) + 1;
+//                var boxes = Math.ceil((rows[i].end.dateValue - rows[i].start.dateValue) / 86400000) + 1;
 //                cg.setWidth(ebox.right - sbox.x -2);
-                Roo.log(boxes);
-                cg.setWidth(134 * boxes);
+//                Roo.log(boxes);
+//                cg.setWidth(134 * boxes);
+                cg.setWidth(134);
                 
             }