filter out legacy JS code from importmap and sort it

also only add extension-less includes for .ts files (was accidentally commented out) and fix some .js imports without extension
This commit is contained in:
Ralf Becker
2021-06-12 11:44:17 +02:00
parent d6c6e14abf
commit ee508c50b9
9 changed files with 17 additions and 11 deletions

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/;
const legacy_js_regexp = /\/dhtmlx|jquery|magicsuggest|resumable/;
// check if egw object was injected by window open
if (typeof window.egw == 'undefined')