Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 6 Mar 2014 08:32:52 +0000 (16:32 +0800)
committerEdward <edward@roojs.com>
Thu, 6 Mar 2014 08:32:52 +0000 (16:32 +0800)
Roo/bootstrap/Calendar.js

index 5e2590d..8fabca6 100644 (file)
@@ -668,6 +668,8 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         
         this.clearEvents();
         
+        this.resize();
+        
         this.calevents = [];
         var cal = this;
         if(this.store.getCount() > 0){
@@ -681,7 +683,6 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         }
         
         this.renderEvents();
-        this.resize();
     }
 });