Roo/grid/Calendar.js
authorAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 01:22:58 +0000 (09:22 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 01:22:58 +0000 (09:22 +0800)
Roo/grid/Calendar.js

index a59996f..598536c 100644 (file)
@@ -811,7 +811,7 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
         var ctr = this.view.el.select('.fc-event-container',true).first();
         
         var cls;
-         this.eventStore.each(function(ev){
+        this.eventStore.each(function(ev){
             
             ev.els = [];
             var cells = ev.cells;
@@ -851,7 +851,7 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
             }
             
             
-        }
+        }, this);
         this.view.layout();
         
     },