From 583ac1c6d6a4791b9201cb8f2bc2e3ba6073f325 Mon Sep 17 00:00:00 2001 From: ralf Date: Fri, 3 Jun 2022 09:59:10 +0200 Subject: [PATCH] queue requests for full calendar data can NOT be backported to 21.1, as jsonq is not returning a promise in 21.1! --- calendar/js/app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/calendar/js/app.ts b/calendar/js/app.ts index e0d15ecbea..b132a7fb68 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -661,7 +661,6 @@ export class CalendarApp extends EgwApp this._update_events(this.state, ['calendar::' + pushData.id]); return; } - ; // Ask for the real data, we don't have it 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 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") {