projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
971dfc5
)
Roo/grid/Calendar.js
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Apr 2014 10:30:31 +0000
(18:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Apr 2014 10:30:31 +0000
(18:30 +0800)
Roo/grid/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/grid/Calendar.js
b/Roo/grid/Calendar.js
index
6ff3b36
..
e8eae23
100644
(file)
--- a/
Roo/grid/Calendar.js
+++ b/
Roo/grid/Calendar.js
@@
-751,7
+751,7
@@
Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
// first make sure there is enough space..
this.cells.each(function(c) {
- Roo.log(Math.max(34,
c.rows
* 20));
+ Roo.log(Math.max(34,
(c.rows || 1)
* 20));
Roo.log(c.select('.fc-day-content div',true).first());
c.select('.fc-day-content div',true).first().setHeight(Math.max(34, c.rows * 20));
});