projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6fc35d
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:07:23 +0000
(11:07 +0800)
committer
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:07:23 +0000
(11:07 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
acb9140
..
381cae3
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-641,6
+641,12
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
ev.els = [];
ev.rows = rows;
ev.cells = cells;
+
+ if((typeof(cells[0].events) == 'undefined')){
+ cells[0].events = [];
+ }
+
+ cells[0].events.push(ev);
// ev.rendered = false;
// for (var i = 0; i < cells.length;i++) {
// cells[i].rows = Math.max(cells[i].rows || 0 , ev.row + 1 );