* Calendar - fix adding events to days loaded and cached but not shown in current view would not show when view gets changed

This commit is contained in:
nathangray 2018-09-24 10:20:56 -06:00
parent f208985cc4
commit 1e7effe370

View File

@ -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] = [];
}