mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 02:18:28 +02: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
|
this is an egw Object as defined in egw_core.js
|
||||||
probably not because it changes on runtime
|
probably not because it changes on runtime
|
||||||
*/
|
*/
|
||||||
const localEgw: IegwAppLocal = window.egw(_app);
|
const localEgw: IegwAppLocal = window.egw(_app, window);
|
||||||
//replaced jQuery calls
|
//replaced jQuery calls
|
||||||
if (Array.isArray(_actions)) {
|
if (Array.isArray(_actions)) {
|
||||||
//_actions is now an object for sure
|
//_actions is now an object for sure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user