From ffecac79fd3aadcd2bc62e41d78e571ba972c4f5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 25 Nov 2019 17:16:51 +0100 Subject: [PATCH] Do not pop notifications' popup-note while avatar menu is open --- notifications/js/notificationajaxpopup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index 5ed47a106c..eaa2f206f7 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -802,7 +802,7 @@ if (counter > 0) { $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)); setTimeout(function (){$popup_note.remove();}, 4000); }