mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
queue requests for full calendar data
can NOT be backported to 21.1, as jsonq is not returning a promise in 21.1!
This commit is contained in:
parent
8db07c9a34
commit
583ac1c6d6
@ -661,7 +661,6 @@ export class CalendarApp extends EgwApp
|
|||||||
this._update_events(this.state, ['calendar::' + pushData.id]);
|
this._update_events(this.state, ['calendar::' + pushData.id]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
;
|
|
||||||
|
|
||||||
// Ask for the real data, we don't have it
|
// Ask for the real data, we don't have it
|
||||||
let process_data = (data) =>
|
let process_data = (data) =>
|
||||||
@ -672,7 +671,7 @@ export class CalendarApp extends EgwApp
|
|||||||
// Any existing events were updated. Run this to catch new events or events moved into view
|
// Any existing events were updated. Run this to catch new events or events moved into view
|
||||||
this._update_events(this.state, [data.uid]);
|
this._update_events(this.state, [data.uid]);
|
||||||
}
|
}
|
||||||
egw.request("calendar.calendar_ui.ajax_get", [[pushData.id]]).then((data) =>
|
egw.jsonq("calendar.calendar_ui.ajax_get", [[pushData.id]]).then((data) =>
|
||||||
{
|
{
|
||||||
if(typeof data.uid !== "undefined")
|
if(typeof data.uid !== "undefined")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user