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

index 7ea17c4..a59996f 100644 (file)
@@ -811,8 +811,8 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
         var ctr = this.view.el.select('.fc-event-container',true).first();
         
         var cls;
-        for (var e = 0; e < this.calevents.length; e++) {
-            var ev = this.calevents[e];
+         this.eventStore.each(function(ev){
+            
             ev.els = [];
             var cells = ev.cells;
             var rows = ev.rows;