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

index b99e6c4..246a015 100644 (file)
@@ -779,12 +779,7 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
         });
         
         this.eventStore.each(function(e) {
-            Roo.each(e.els, function(el) {
-                el.un('mouseenter' ,this.onEventEnter, this);
-                el.un('mouseleave' ,this.onEventLeave, this);
-                el.remove();
-            },this);
-            e.els = [];
+            this.clearEvent(e);
         },this);
         
     },