Roo/grid/Calendar.js
authorAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 02:30:45 +0000 (10:30 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 02:30:45 +0000 (10:30 +0800)
Roo/grid/Calendar.js

index aaa9fa5..8147eca 100644 (file)
@@ -794,7 +794,7 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
             },this);
             e.els = [];
         }
-    }
+    },
     
     
     renderEvent : function(ev,ctr) {
@@ -802,10 +802,10 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
              ctr = this.view.el.select('.fc-event-container',true).first();
         }
         
-        if (ev.els) {
-            this.clearEvent(ev);
+         
+        this.clearEvent(ev);
             //code
-        }
+       
         
         
         ev.els = [];