diff --git a/etemplate/js/et2_extension_nextmatch_actions.js b/etemplate/js/et2_extension_nextmatch_actions.js index 3e945001ac..b3ade74dc5 100644 --- a/etemplate/js/et2_extension_nextmatch_actions.js +++ b/etemplate/js/et2_extension_nextmatch_actions.js @@ -107,7 +107,7 @@ function nm_action(_action, _senders, _target, _ids) console.log(params); var egw_open_id = idsArr[0].id; if (typeof params[2] != 'undefined') egw_open_id = egw_open_id.split(':')[params[2]]; - egw_open(egw_open_id,params[1],params[0],params[3]); + egw(params[1],window).open(egw_open_id,params[1],params[0],params[3],target); break; case 'open_popup': diff --git a/etemplate/js/nextmatch_action.js b/etemplate/js/nextmatch_action.js index 66564fbe45..e5d257e20e 100644 --- a/etemplate/js/nextmatch_action.js +++ b/etemplate/js/nextmatch_action.js @@ -189,7 +189,7 @@ function nm_action(_action, _senders) console.log(params); var egw_open_id = _senders[0].id; if (typeof params[2] != 'undefined') egw_open_id = egw_open_id.split(':')[params[2]]; - egw_open(egw_open_id,params[1],params[0],params[3],target); + egw(params[1],window).open(egw_open_id,params[1],params[0],params[3],target); break; case 'open_popup':