mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Deal with data if it came back with something else
This commit is contained in:
parent
dc6a8e0977
commit
5a72efe7f7
@ -580,6 +580,8 @@ var CalendarApp = /** @class */ (function (_super) {
|
||||
}
|
||||
// Ask for the real data
|
||||
egw.json("calendar.calendar_ui.ajax_get", [[pushData.id]], function (data) {
|
||||
if (data && data.data && data.data.data)
|
||||
return;
|
||||
var unknown = (typeof egw.dataGetUIDdata(data.uid) === "undefined");
|
||||
// Store it, which will call all registered listeners
|
||||
egw.dataStoreUID(data.uid, data.data);
|
||||
|
@ -522,6 +522,8 @@ class CalendarApp extends EgwApp
|
||||
|
||||
// Ask for the real data
|
||||
egw.json("calendar.calendar_ui.ajax_get", [[pushData.id]], function(data) {
|
||||
if(data && data.data && data.data.data) return;
|
||||
|
||||
let unknown = (typeof egw.dataGetUIDdata(data.uid) === "undefined");
|
||||
// Store it, which will call all registered listeners
|
||||
egw.dataStoreUID(data.uid, data.data);
|
||||
|
Loading…
Reference in New Issue
Block a user