mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +01:00
fix not translated context menu
window.egw with a reference to the main window in a popup, egw(_app, window) gives one with correct window context / translation in a popup (_app does not matter for translations, they are requested to be loaded from server-side)
This commit is contained in:
parent
b1a4a45bb1
commit
40a4d38776
@ -271,7 +271,7 @@ export class EgwAction {
|
||||
this is an egw Object as defined in egw_core.js
|
||||
probably not because it changes on runtime
|
||||
*/
|
||||
const localEgw: IegwAppLocal = window.egw(_app);
|
||||
const localEgw: IegwAppLocal = window.egw(_app, window);
|
||||
//replaced jQuery calls
|
||||
if (Array.isArray(_actions)) {
|
||||
//_actions is now an object for sure
|
||||
|
Loading…
Reference in New Issue
Block a user