mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Fix notifications set in high priority does not show counter after reload
This commit is contained in:
parent
819bc83182
commit
3ecb399454
@ -764,7 +764,14 @@
|
|||||||
alert(egw.lang('EGroupware has notifications for you'));
|
alert(egw.lang('EGroupware has notifications for you'));
|
||||||
egw.json("notifications.notifications_ajax.update_status", [hasUnseen, 'DISPLAYED']).sendRequest();
|
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;
|
break;
|
||||||
case 'medium':
|
case 'medium':
|
||||||
if (egwpopup.style.display != 'none' && Object.keys(old_notifymessages).length != Object.keys(notifymessages).length)
|
if (egwpopup.style.display != 'none' && Object.keys(old_notifymessages).length != Object.keys(notifymessages).length)
|
||||||
|
Loading…
Reference in New Issue
Block a user