projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77af07f
)
Roo/grid/Calendar.js
author
Alan Knowles
<alan@roojs.com>
Thu, 10 Apr 2014 02:29:40 +0000
(10:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 10 Apr 2014 02:29:40 +0000
(10:29 +0800)
Roo/grid/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/grid/Calendar.js
b/Roo/grid/Calendar.js
index
cffa628
..
2327b01
100644
(file)
--- 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;