mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
We can't use let in js files as we still supporting old devices with es5 only
This commit is contained in:
parent
6f38d53715
commit
c01beef108
@ -218,7 +218,7 @@
|
||||
}
|
||||
|
||||
// set grants if given for push
|
||||
let egw_grants = egw_script.getAttribute('data-grants');
|
||||
var egw_grants = egw_script.getAttribute('data-grants');
|
||||
if (egw_grants)
|
||||
{
|
||||
egw.set_grants(JSON.parse(egw_grants));
|
||||
|
@ -668,7 +668,7 @@
|
||||
// proccess html their content.
|
||||
if (_currentRawData.length>0 && _currentRawData.length == _rawData.length) return;
|
||||
_currentRawData = _rawData;
|
||||
let old_notifymessages = notifymessages;
|
||||
var old_notifymessages = notifymessages;
|
||||
notifymessages = {};
|
||||
var browser_notify = _browser_notify || this.check_browser_notify();
|
||||
for (var i=0; i < _rawData.length; i++)
|
||||
@ -745,7 +745,7 @@
|
||||
}
|
||||
|
||||
}
|
||||
let egwpopup = document.getElementById('egwpopup');
|
||||
var egwpopup = document.getElementById('egwpopup');
|
||||
switch(egw.preference('egwpopup_verbosity', 'notifications'))
|
||||
{
|
||||
case 'low':
|
||||
|
Loading…
Reference in New Issue
Block a user