plugins/calendar

Thomas Brüderli bruederli at kolabsys.com
Wed Jul 9 15:26:59 CEST 2014


 plugins/calendar/lib/js/fullcalendar.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 633810b6a711902e791fbf73cb50e0d2b57382be
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Wed Jul 9 15:26:34 2014 +0200

    Fix table view rendering/updating

diff --git a/plugins/calendar/lib/js/fullcalendar.js b/plugins/calendar/lib/js/fullcalendar.js
index e286310..24d0c6d 100644
--- a/plugins/calendar/lib/js/fullcalendar.js
+++ b/plugins/calendar/lib/js/fullcalendar.js
@@ -4758,6 +4758,7 @@ function ListEventRenderer() {
 	
 	function renderEvents(events, modifiedEventId) {
 		events.sort(sortCmp);
+		clearEvents();
 		renderSegs(compileSegs(events), modifiedEventId);
 	}
 	
@@ -5095,6 +5096,7 @@ function TableEventRenderer() {
 	
 	function renderEvents(events, modifiedEventId) {
 		events.sort(sortCmp);
+		clearEvents();
 		renderSegs(compileSegs(events), modifiedEventId);
 		getListContainer().removeClass('fc-list-smart fc-list-day fc-list-month fc-list-week').addClass('fc-list-' + opt('listSections'));
 	}




More information about the commits mailing list