diff --git a/api/js/jsapi/app_base.js b/api/js/jsapi/app_base.js index a7a3f3af65..b93bb5e188 100644 --- a/api/js/jsapi/app_base.js +++ b/api/js/jsapi/app_base.js @@ -233,7 +233,7 @@ var AppJS = (function(){ "use strict"; return Class.extend( if (pushData.app !== this.appname) return; // only handle delete by default, for simple case of uid === "$app::$id" - if (pushData.type === 'delete') + if (pushData.type === 'delete' && egw.dataHasUID(this.uid(pushData))) { egw.refresh('', pushData.app, pushData.id, 'delete'); } diff --git a/api/js/jsapi/egw_app.js b/api/js/jsapi/egw_app.js index 76084d9b04..f3f1ea70e8 100644 --- a/api/js/jsapi/egw_app.js +++ b/api/js/jsapi/egw_app.js @@ -164,7 +164,7 @@ var EgwApp = /** @class */ (function () { if (pushData.app !== this.appname) return; // only handle delete by default, for simple case of uid === "$app::$id" - if (pushData.type === 'delete') { + if (pushData.type === 'delete' && egw.dataHasUID(this.uid(pushData))) { egw.refresh('', pushData.app, pushData.id, 'delete'); } }; diff --git a/api/js/jsapi/egw_app.ts b/api/js/jsapi/egw_app.ts index e8de5e7d07..de8d519e9f 100644 --- a/api/js/jsapi/egw_app.ts +++ b/api/js/jsapi/egw_app.ts @@ -263,7 +263,7 @@ export abstract class EgwApp if (pushData.app !== this.appname) return; // only handle delete by default, for simple case of uid === "$app::$id" - if (pushData.type === 'delete') + if (pushData.type === 'delete' && egw.dataHasUID(this.uid(pushData))) { egw.refresh('', pushData.app, pushData.id, 'delete'); }