Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 6 Mar 2014 07:03:55 +0000 (15:03 +0800)
committerEdward <edward@roojs.com>
Thu, 6 Mar 2014 07:03:55 +0000 (15:03 +0800)
Roo/bootstrap/Calendar.js

index b5ea005..f034176 100644 (file)
@@ -267,7 +267,7 @@ 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.resize();
         this.cells = this.el.select('.fc-day',true);