projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198396d
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:30:58 +0000
(11:30 +0800)
committer
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:30:58 +0000
(11:30 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
eb4f077
..
d9557b5
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-697,15
+697,15
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
var rows = ev.rows;
for (var j = 0; j > cells.length; j++){
- if(!cells[
i
].more.length){
- cells[
i
].row++;
+ if(!cells[
j
].more.length){
+ cells[
j
].row++;
}
- if(cells[
i
].row > 3){
- cells[
i
].more.push(ev);
+ if(cells[
j
].row > 3){
+ cells[
j
].more.push(ev);
continue;
}
- cells[
i
].events.push(ev);
+ cells[
j
].events.push(ev);
}
}