forked from extern/egroupware
increment notification counter on (closed) mail tab
This commit is contained in:
parent
6007fb5363
commit
a350f6a871
@ -403,6 +403,9 @@ app.classes.mail = AppJS.extend(
|
||||
if (pushData.type === 'add')
|
||||
{
|
||||
this.egw.message(this.egw.lang('New mail from %1', pushData.acl.from)+'\n'+pushData.acl.subject+'\n'+pushData.acl.snippet, 'success');
|
||||
// increment notification counter on (closed) mail tab
|
||||
let framework = egw_getFramework();
|
||||
if (framework) framework.notifyAppTab('mail');
|
||||
}
|
||||
// check if we might not see it because we are on a different mail account or folder
|
||||
let nm = this.et2 ? this.et2.getWidgetById('nm') : null;
|
||||
|
Loading…
Reference in New Issue
Block a user