forked from extern/egroupware
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);
|
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");
|
if(typeof console != "undefined" && console.timeEnd) console.timeEnd("egw");
|
||||||
var end_time = (new Date).getTime();
|
var end_time = (new Date).getTime();
|
||||||
var gen_time_div = jQuery('#divGenTime_'+window.egw_appName);
|
var gen_time_div = jQuery('#divGenTime_'+window.egw_appName);
|
||||||
|
Loading…
Reference in New Issue
Block a user