From 4b9be2876e952289244d341878c7ddf916c115b0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 22 Jul 2020 21:27:40 +0200 Subject: [PATCH] fix new mail rows appear no unseen --- api/js/etemplate/et2_extension_nextmatch.js | 4 ++-- api/js/etemplate/et2_extension_nextmatch.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/js/etemplate/et2_extension_nextmatch.js b/api/js/etemplate/et2_extension_nextmatch.js index 967e6a7ebf..af793d0b78 100644 --- a/api/js/etemplate/et2_extension_nextmatch.js +++ b/api/js/etemplate/et2_extension_nextmatch.js @@ -545,7 +545,7 @@ var et2_nextmatch = /** @class */ (function (_super) { // App did not want the row, or doesn't know where it goes but we've already removed it... // Put it back before anyone notices. New data coming from server anyway. var callback_1 = function (data) { - data.class += "new_entry"; + data.class += " new_entry"; this.egw().dataUnregisterUID(uid, callback_1, this); }; this.egw().dataRegisterUID(uid, callback_1, this, this.getInstanceManager().etemplate_exec_id, this.id); @@ -578,7 +578,7 @@ var et2_nextmatch = /** @class */ (function (_super) { // Set "new entry" class - but it has to stay so register and re-add it after the data is there entry.row.tr.addClass("new_entry"); var callback = function (data) { - data.class += "new_entry"; + data.class += " new_entry"; this.egw().dataUnregisterUID(uid, callback, this); }; this.egw().dataRegisterUID(uid, callback, this, this.getInstanceManager().etemplate_exec_id, this.id); diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 8c20171083..42b3fafd0d 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -817,7 +817,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 // App did not want the row, or doesn't know where it goes but we've already removed it... // Put it back before anyone notices. New data coming from server anyway. let callback = function(data) { - data.class += "new_entry"; + data.class += " new_entry"; this.egw().dataUnregisterUID(uid, callback, this); }; this.egw().dataRegisterUID(uid, callback, this, this.getInstanceManager().etemplate_exec_id, this.id); @@ -857,7 +857,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 // Set "new entry" class - but it has to stay so register and re-add it after the data is there entry.row.tr.addClass("new_entry"); let callback = function(data) { - data.class += "new_entry"; + data.class += " new_entry"; this.egw().dataUnregisterUID(uid, callback, this); }; this.egw().dataRegisterUID(uid, callback, this, this.getInstanceManager().etemplate_exec_id, this.id);