projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22eaa2f
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:50:21 +0000
(11:50 +0800)
committer
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:50:21 +0000
(11:50 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
61dbb5d
..
e5aa888
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-618,7
+618,14
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
var crow = false;
var rows = [];
for(var i =0; i < cells.length; i++) {
- cells[i].row = (i == 0) ? cells[0].row + 1 : cells[0].row;
+
+ cells[i].inhertance = cells[i].inhertance + 1;
+
+ if(i == 0){
+ cells[i].row = cells[i].row + 1;
+ cells[i].inhertance = cells[i].inhertance - 1;
+ }
+
if (!crow) {
crow = {
start : cells[i],