From: Alan Knowles Date: Wed, 9 Apr 2014 10:30:37 +0000 (+0800) Subject: examples/layout/calendar.html X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=5b3c2cbbaed605aedc2c0b86531be6780b81d828;p=roojs1 examples/layout/calendar.html Roo/grid/Calendar.js --- diff --git a/Roo/grid/Calendar.js b/Roo/grid/Calendar.js index e8eae23ed8..9bc745aaf5 100644 --- a/Roo/grid/Calendar.js +++ b/Roo/grid/Calendar.js @@ -753,7 +753,7 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, { this.cells.each(function(c) { 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)); + c.select('.fc-day-content div',true).first().setHeight(Math.max(34, (c.rows || 1) * 20)); }); for (var e = 0; e < this.calevents.length; e++) {