mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
make etemplate2 global, as we need it to check an app uses it and then call methods on it, fixes #60374
This commit is contained in:
parent
81bc236045
commit
5505c9a314
@ -1442,6 +1442,10 @@ export class etemplate2
|
||||
throw 'Invalid parameters';
|
||||
}
|
||||
}
|
||||
|
||||
// make etemplate2 global, as we need it to check an app uses it and then call methods on it
|
||||
window['etemplate2'] = etemplate2;
|
||||
|
||||
// Calls etemplate2_handle_response in the context of the object which
|
||||
// requested the response from the server
|
||||
egw(window).registerJSONPlugin(etemplate2.handle_load, null, 'et2_load');
|
||||
|
Loading…
Reference in New Issue
Block a user