Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 6 Mar 2014 06:40:34 +0000 (14:40 +0800)
committerEdward <edward@roojs.com>
Thu, 6 Mar 2014 06:40:34 +0000 (14:40 +0800)
Roo/bootstrap/Calendar.js

index c33798c..39d1695 100644 (file)
@@ -278,9 +278,9 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         
         this.store = Roo.factory(this.store, Roo.data);
         
-        this.store.on('load', this.onLoad());
-        
+        this.store.on('load', this.onLoad(), this);
         
+        this.store.load();
 
     },
     resize : function() {