forked from extern/egroupware
If action specifies target for location, use it
This commit is contained in:
parent
249363f2b4
commit
ec56327c20
@ -144,7 +144,14 @@ function nm_action(_action, _senders)
|
||||
break;
|
||||
|
||||
case 'location':
|
||||
window.location.href = url;
|
||||
if(target)
|
||||
{
|
||||
window.open(url, target);
|
||||
}
|
||||
else
|
||||
{
|
||||
window.location.href = url;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'popup':
|
||||
|
Loading…
Reference in New Issue
Block a user