From 9b9a1df8a39c082ff34f60a52a214f63343c964e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Sat, 5 Oct 2013 09:40:00 +0000 Subject: [PATCH] Use egw.open_link() to open popups so they can be tracked, if they have a target. --- etemplate/js/et2_extension_nextmatch_actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/js/et2_extension_nextmatch_actions.js b/etemplate/js/et2_extension_nextmatch_actions.js index 75d358bd82..7ec5a1bf28 100644 --- a/etemplate/js/et2_extension_nextmatch_actions.js +++ b/etemplate/js/et2_extension_nextmatch_actions.js @@ -90,7 +90,7 @@ function nm_action(_action, _senders, _target, _ids) } else if(target) { - window.open(url, target); + egw.open_link(url, target); } else { @@ -99,7 +99,7 @@ function nm_action(_action, _senders, _target, _ids) break; case 'popup': - egw_openWindowCentered2(url,target,_action.data.width,_action.data.height); + egw.open_link(url,target,_action.data.width+'x'+_action.data.height); break; case 'egw_open':