mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-04 04:59:52 +01:00
Do not pop notifications' popup-note while avatar menu is open
This commit is contained in:
parent
2e43fecd66
commit
ffecac79fd
@ -802,7 +802,7 @@
|
|||||||
if (counter > 0)
|
if (counter > 0)
|
||||||
{
|
{
|
||||||
$topmenu_info_notifications.addClass('egwpopup_notify');
|
$topmenu_info_notifications.addClass('egwpopup_notify');
|
||||||
$topmenu_info_notifications.append($popup_note);
|
if (jQuery('#egw_fw_topmenu:visible').length == 0) $topmenu_info_notifications.append($popup_note);
|
||||||
$popup_note.text(egw.lang('You have %1 unread notifications', counter));
|
$popup_note.text(egw.lang('You have %1 unread notifications', counter));
|
||||||
setTimeout(function (){$popup_note.remove();}, 4000);
|
setTimeout(function (){$popup_note.remove();}, 4000);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user