From a4eba54d1befd832a48e38c3bc90a9ca4fbe3fc3 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 10 Apr 2014 10:29:40 +0800 Subject: [PATCH] Roo/grid/Calendar.js --- Roo/grid/Calendar.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Roo/grid/Calendar.js b/Roo/grid/Calendar.js index cffa6287db..2327b0194b 100644 --- a/Roo/grid/Calendar.js +++ b/Roo/grid/Calendar.js @@ -794,6 +794,18 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, { if (!ctr) { ctr = this.view.el.select('.fc-event-container',true).first(); } + + if (ev.els) { + Roo.each(ev.els, function(el) { + el.un('mouseenter' ,this.onEventEnter, this); + el.un('mouseleave' ,this.onEventLeave, this); + el.remove(); + },this); + ev.els = []; + //code + } + + ev.els = []; var cells = ev.cells; var rows = ev.rows; -- 2.39.2