also legacy-load old phpgwapi JS code like tabs using in KB

This commit is contained in:
ralf 2023-01-12 08:43:17 -06:00
parent 4f7b54c6bb
commit 4e1b31bb37

View File

@ -78,7 +78,7 @@ window.app = {classes: {}};
window.egw_appName = egw_script.getAttribute('data-app');
// split includes in legacy js and modules
const legacy_js_regexp = /\/dhtmlx|jquery-ui|^etemplate\/|^phpbrain\//;
const legacy_js_regexp = /\/dhtmlx|jquery-ui|^etemplate\/|^phpbrain\/|^phpgwapi\//;
// check if egw object was injected by window open
if (typeof window.egw == 'undefined')