Use egw.open_link() to open popups so they can be tracked, if they have a target.

This commit is contained in:
Nathan Gray 2013-10-05 09:40:00 +00:00
parent 8a7ffaa182
commit 9b9a1df8a3

View File

@ -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':