projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
47989eb
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 09:19:06 +0000
(17:19 +0800)
committer
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 09:19:06 +0000
(17:19 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
0853c6f
..
fc8f439
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-591,17
+591,13
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
// Roo.log(c.select('.fc-day-content div',true).first(), Math.max(34, c.rows * 20));
c.select('.fc-day-content div',true).first().setHeight(Math.max(34, c.rows * 20));
});
// Roo.log(c.select('.fc-day-content div',true).first(), Math.max(34, c.rows * 20));
c.select('.fc-day-content div',true).first().setHeight(Math.max(34, c.rows * 20));
});
- Roo.log('cells');
- Roo.log(this.cells);
+
for (var e = 0; e < this.calevents.length; e++) {
var ev = this.calevents[e];
var cells = ev.cells;
var rows = ev.rows;
var boxHeight = 0;
for (var e = 0; e < this.calevents.length; e++) {
var ev = this.calevents[e];
var cells = ev.cells;
var rows = ev.rows;
var boxHeight = 0;
- Roo.log('cells f');
- Roo.log(cells);
-
for(var i =0; i < rows.length; i++) {
for(var i =0; i < rows.length; i++) {
@@
-660,9
+656,7
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
boxHeight += Roo.log(cg.getHeight());
}
boxHeight += Roo.log(cg.getHeight());
}
- cells.each(function(c) {
- c.select('.fc-day-content div',true).first().setHeight(Math.max(34, boxHeight));
- });
+ cells[0].select('.fc-day-content div',true).first().setHeight(Math.max(34, boxHeight));
}
}