projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
299fc4c
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 08:30:43 +0000
(16:30 +0800)
committer
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 08:30:43 +0000
(16:30 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
6018da2
..
42c373e
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-576,8
+576,7
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
},
renderEvents: function()
- {
- this.clearEvents();
+ {
// first make sure there is enough space..
this.cells.each(function(c) {
// Roo.log(c.select('.fc-day-content div',true).first(), Math.max(34, c.rows * 20));
@@
-662,6
+661,9
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
},
onLoad: function () {
+
+ this.clearEvents();
+
this.calevents = [];
var cal = this;
if(this.store.getCount() > 0){