Get Notifications popup running

This commit is contained in:
Hadi Nategh 2021-06-16 13:55:09 +02:00
parent 8ac6b45b78
commit cf8cc1c637

View File

@ -16,7 +16,7 @@
*/
(function()
{
const egw = window.egw; // fix undefined egw
window.egw_ready.then(()=>{
var notifymessages = {};
@ -910,10 +910,8 @@
};
var self = notifications;
window.egw_ready.then(function()
{
var langRequire = jQuery('#notifications_script_id').attr('data-langRequire');
egw.langRequire(window, [JSON.parse(langRequire)], function()
egw.langRequire(window, [JSON.parse(langRequire)]).then(()=>
{
var $egwpopup_fw = jQuery('#topmenu_info_notifications');
switch (egw.preference('notification_chain','notifications'))