Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 4 Sep 2014 07:42:11 +0000 (15:42 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Sep 2014 07:42:11 +0000 (15:42 +0800)
Roo/bootstrap/Calendar.js

index 5c216b3..59b6532 100644 (file)
@@ -800,7 +800,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
                     var sbox = rows[i].start.select('.fc-day-content',true).first().getBox();
                     var ebox = rows[i].end.select('.fc-day-content',true).first().getBox();
 
-                    cg.setXY([sbox.x +2, sbox.y +(e * 20)]);    
+                    cg.setXY([sbox.x +2, sbox.y +(r * 20)]);    
                     cg.setWidth(ebox.right - sbox.x -2);
 
     //                if(ev.row > 3){