From: Edward Date: Thu, 25 Sep 2014 03:03:34 +0000 (+0800) Subject: Roo/bootstrap/Calendar.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=e909e0f2a505da48f0a4931f17468724a443234e;p=roojs1 Roo/bootstrap/Calendar.js --- diff --git a/Roo/bootstrap/Calendar.js b/Roo/bootstrap/Calendar.js index 9e442c2622..5072e3dab0 100644 --- a/Roo/bootstrap/Calendar.js +++ b/Roo/bootstrap/Calendar.js @@ -615,7 +615,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, { var crow = false; var rows = []; for(var i =0; i < cells.length; i++) { - cells[i].row = cells[i].row * 1 + 1; + cells[i].row = (typeof(cells[i].row)) ? 1 : (cells[i].row + 1); if (!crow) { crow = { start : cells[i],