forked from extern/egroupware
Use egw.open_link() to open popups so they can be tracked, if they have a target.
This commit is contained in:
parent
8a7ffaa182
commit
9b9a1df8a3
@ -90,7 +90,7 @@ function nm_action(_action, _senders, _target, _ids)
|
|||||||
}
|
}
|
||||||
else if(target)
|
else if(target)
|
||||||
{
|
{
|
||||||
window.open(url, target);
|
egw.open_link(url, target);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -99,7 +99,7 @@ function nm_action(_action, _senders, _target, _ids)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'popup':
|
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;
|
break;
|
||||||
|
|
||||||
case 'egw_open':
|
case 'egw_open':
|
||||||
|
Loading…
Reference in New Issue
Block a user