Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 25 Sep 2014 04:14:09 +0000 (12:14 +0800)
committerEdward <edward@roojs.com>
Thu, 25 Sep 2014 04:14:09 +0000 (12:14 +0800)
Roo/bootstrap/Calendar.js

index c8fd33a..ad9394a 100644 (file)
@@ -798,12 +798,12 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
             c.events = ev.slice(0, moreRow);
             c.more = ev.slice(moreRow);
             
+            c.row = c.events.length + 1;
+            
             if(c.more.length && c.more.length == 1){
                 c.events.push(c.more.pop());
             }
             
-            c.row = c.events.length;
-            
         });
             
 //        for (var e = 0; e < this.calevents.length; e++) {