mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-07 19:52:19 +01:00
check et2 is ready
This commit is contained in:
parent
6e2745f129
commit
deac5166e7
@ -410,10 +410,11 @@ app.classes.mail = AppJS.extend(
|
|||||||
this.push_active[acc_id] = true;
|
this.push_active[acc_id] = true;
|
||||||
|
|
||||||
// update unseen counter in folder-tree (also for delete)
|
// update unseen counter in folder-tree (also for delete)
|
||||||
if (pushData.acl.folder && typeof pushData.acl.unseen !== 'undefined')
|
if (foldertree && pushData.acl.folder && typeof pushData.acl.unseen !== 'undefined')
|
||||||
{
|
{
|
||||||
let folder_id = {};
|
let folder_id = {};
|
||||||
folder_id[folder] = foldertree.getLabel(folder).replace(this._unseen_regexp, '')+(pushData.acl.unseen ? " ("+pushData.acl.unseen+")" : '');
|
folder_id[folder] = foldertree.getLabel(folder).replace(this._unseen_regexp, '')+
|
||||||
|
(pushData.acl.unseen ? " ("+pushData.acl.unseen+")" : '');
|
||||||
this.mail_setFolderStatus(folder_id);
|
this.mail_setFolderStatus(folder_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user