diff --git a/api/js/jsapi/egw_app.js b/api/js/jsapi/egw_app.js index 131865b240..d5c47fa73e 100644 --- a/api/js/jsapi/egw_app.js +++ b/api/js/jsapi/egw_app.js @@ -1800,4 +1800,6 @@ export class EgwApp { * we track all instances. */ EgwApp._instances = []; +// EgwApp need to be global on window, as it's used to iterate through all EgwApp instances +window.EgwApp = EgwApp; //# sourceMappingURL=egw_app.js.map \ No newline at end of file diff --git a/api/js/jsapi/egw_app.ts b/api/js/jsapi/egw_app.ts index c65b345531..d60bd766fa 100644 --- a/api/js/jsapi/egw_app.ts +++ b/api/js/jsapi/egw_app.ts @@ -2262,3 +2262,5 @@ export abstract class EgwApp return EgwApp._instances[Symbol.iterator](); } } +// EgwApp need to be global on window, as it's used to iterate through all EgwApp instances +window.EgwApp = EgwApp; \ No newline at end of file