From ff11d461bff5175dd348d5c51cee08ec0ff6ce9c Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 25 Sep 2014 12:46:42 +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 2865605461..ae1ffc3f3c 100644 --- a/Roo/bootstrap/Calendar.js +++ b/Roo/bootstrap/Calendar.js @@ -786,8 +786,8 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, { var r = c.row - ev.length; - c.events = ev.slice(0, 4); - c.more = ev.slice(4); + c.events = ev.slice(0, 4 - r); + c.more = ev.slice(4 - r); c.row = c.events.length + 1; -- 2.39.2