set grants if given for push

This commit is contained in:
Ralf Becker 2020-07-13 19:25:48 +02:00
parent 35118299cf
commit 808313c121

View File

@ -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);