mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
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)
|
||||
{
|
||||
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':
|
||||
|
Loading…
Reference in New Issue
Block a user