If action specifies target for location, use it

This commit is contained in:
Nathan Gray 2011-06-06 20:22:49 +00:00
parent 249363f2b4
commit ec56327c20

View File

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