mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
also legacy-load old phpgwapi JS code like tabs using in KB
This commit is contained in:
parent
4f7b54c6bb
commit
4e1b31bb37
@ -78,7 +78,7 @@ window.app = {classes: {}};
|
|||||||
window.egw_appName = egw_script.getAttribute('data-app');
|
window.egw_appName = egw_script.getAttribute('data-app');
|
||||||
|
|
||||||
// split includes in legacy js and modules
|
// 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
|
// check if egw object was injected by window open
|
||||||
if (typeof window.egw == 'undefined')
|
if (typeof window.egw == 'undefined')
|
||||||
|
Loading…
Reference in New Issue
Block a user