mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
set grants if given for push
This commit is contained in:
parent
35118299cf
commit
808313c121
@ -217,6 +217,13 @@
|
||||
egw.open_link.apply(egw, egw_popup);
|
||||
}
|
||||
|
||||
// set grants if given for push
|
||||
let egw_grants = egw_script.getAttribute('data-grants');
|
||||
if (egw_grants)
|
||||
{
|
||||
egw.set_grants(JSON.parse(egw_grants));
|
||||
}
|
||||
|
||||
if(typeof console != "undefined" && console.timeEnd) console.timeEnd("egw");
|
||||
var end_time = (new Date).getTime();
|
||||
var gen_time_div = jQuery('#divGenTime_'+window.egw_appName);
|
||||
|
Loading…
Reference in New Issue
Block a user