mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
* 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:
parent
d9e2d991e1
commit
be731519cf
@ -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
|
// Check to make sure it's in range first, record.data.date is start date
|
||||||
// and could be before our start
|
// 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] = [];
|
updated_days[record.data.date] = [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user