projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3bf54d
)
Roo/grid/Calendar.js
author
Alan Knowles
<alan@roojs.com>
Thu, 10 Apr 2014 01:21:45 +0000
(09:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 10 Apr 2014 01:21:45 +0000
(09:21 +0800)
Roo/grid/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/grid/Calendar.js
b/Roo/grid/Calendar.js
index
db12ffd
..
22ef1ba
100644
(file)
--- a/
Roo/grid/Calendar.js
+++ b/
Roo/grid/Calendar.js
@@
-762,15
+762,15
@@
Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
clearEvents: function() {
- if
(!this.calevents)
{
+ if
(!this.eventStore.getCount())
{
return;
}
-
+ // reset number of rows in cells.
Roo.each(this.cells.elements, function(c){
c.rows = 0;
});
-
Roo.each(this.calevents,
function(e) {
+
this.eventStore.each(
function(e) {
Roo.each(e.els, function(el) {
el.un('mouseenter' ,this.onEventEnter, this);
el.un('mouseleave' ,this.onEventLeave, this);