Fix notifications set in high priority does not show counter after reload

This commit is contained in:
Hadi Nategh 2021-04-26 14:32:24 +02:00
parent 819bc83182
commit 3ecb399454

View File

@ -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)