mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:07 +01:00
check et2 is ready
This commit is contained in:
parent
024febcdfa
commit
940e43e2f7
@ -410,10 +410,11 @@ app.classes.mail = AppJS.extend(
|
||||
this.push_active[acc_id] = true;
|
||||
|
||||
// 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 = {};
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user