projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd222aa
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:42:21 +0000
(11:42 +0800)
committer
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:42:21 +0000
(11:42 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
0060d2d
..
8d72587
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-615,7
+615,7
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
var crow = false;
var rows = [];
for(var i =0; i < cells.length; i++) {
-
// cells[i].row = (typeof(cells[i].row) == 'undefined') ? 1 : (cells[i].row + 1)
;
+
cells[i].row = cells[0].row + 1
;
if (!crow) {
crow = {
start : cells[i],
@@
-642,6
+642,8
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
ev.rows = rows;
ev.cells = cells;
+ cells[0].events.push(ev);
+
// if((typeof(cells[0].events) == 'undefined')){
// cells[0].events = [];
// }