mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 12:30:02 +02:00
Only set notification tab for none active tabs
This commit is contained in:
@@ -518,7 +518,11 @@
|
||||
notifyAppTab: function(_appname, _clear)
|
||||
{
|
||||
var tab = this.tabsUi.getTab(_appname);
|
||||
if (tab) this.tabsUi.getTab(_appname).setNotification(_clear);
|
||||
// do not set tab's notification if it's the active tab
|
||||
if (tab && (this.activeApp.appName != _appname || _clear))
|
||||
{
|
||||
this.tabsUi.getTab(_appname).setNotification(_clear);
|
||||
}
|
||||
}
|
||||
});
|
||||
})(window);
|
||||
|
Reference in New Issue
Block a user