* 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 d9e2d991e1
commit be731519cf

View File

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