mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Get Notifications popup running
This commit is contained in:
parent
8ac6b45b78
commit
cf8cc1c637
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user