From: Alan Knowles Date: Wed, 9 Apr 2014 10:30:31 +0000 (+0800) Subject: Roo/grid/Calendar.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=1a256c9b8e4f0d1cb79deac61993ea4c1b515975;p=roojs1 Roo/grid/Calendar.js --- diff --git a/Roo/grid/Calendar.js b/Roo/grid/Calendar.js index 6ff3b36c6d..e8eae23ed8 100644 --- 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)); });