mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
improve fix not updated number of nextmatch rows on push type "delete"
This commit is contained in:
parent
0c1b92f029
commit
5a5575ace2
@ -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');
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
};
|
||||
|
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user