From 1e7effe370fd21838ce38d1e4957614e2642af4b Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 24 Sep 2018 10:20:56 -0600 Subject: [PATCH] * Calendar - fix adding events to days loaded and cached but not shown in current view would not show when view gets changed --- calendar/js/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index 02caa81f44..cca44e6f85 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -3126,7 +3126,10 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend( { // Check to make sure it's in range first, record.data.date is start date // and could be before our start - if(record.data.date >= bounds.first && record.data.date <= bounds.last) + if(record.data.date >= bounds.first && record.data.date <= bounds.last || + // Or it's for a day we already have + typeof this.egw.dataGetUIDdata('calendar_daywise::'+record.data.date) !== 'undefined' + ) { updated_days[record.data.date] = []; }