From ad4501ab4beabd34c3fc68a92976ebc6e249aee9 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 25 Sep 2014 12:14:09 +0800 Subject: [PATCH] Roo/bootstrap/Calendar.js --- Roo/bootstrap/Calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Calendar.js b/Roo/bootstrap/Calendar.js index c8fd33aa1a..ad9394a7ae 100644 --- a/Roo/bootstrap/Calendar.js +++ b/Roo/bootstrap/Calendar.js @@ -798,12 +798,12 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, { c.events = ev.slice(0, moreRow); c.more = ev.slice(moreRow); + c.row = c.events.length + 1; + if(c.more.length && c.more.length == 1){ c.events.push(c.more.pop()); } - c.row = c.events.length; - }); // for (var e = 0; e < this.calevents.length; e++) { -- 2.39.2