diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index 89498fcf49..2addf7406e 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -764,7 +764,14 @@ alert(egw.lang('EGroupware has notifications for you')); egw.json("notifications.notifications_ajax.update_status", [hasUnseen, 'DISPLAYED']).sendRequest(); } - if (egwpopup.style.display != 'none') this.display(); + if (egwpopup.style.display != 'none') + { + this.display(); + } + else + { + this.counterUpdate(); + } break; case 'medium': if (egwpopup.style.display != 'none' && Object.keys(old_notifymessages).length != Object.keys(notifymessages).length)