Use js link registry to open links, allows more accurate target (popup, tab, _blank)

This commit is contained in:
Nathan Gray 2011-11-24 19:07:32 +00:00
parent e5cbfc5601
commit 22668f078d

View File

@ -324,6 +324,9 @@ class link_widget
$value[$row]['icon'] = egw_link::get_registry($value[$row]['app'], 'icon');
$value[$row]['label'] = 'Unlink';
$value[$row]['help'] = lang('Remove this link (not the entry itself)');
$value[$row]['view'] = "javascript:egw.open('{$link['id']}', '{$link['app']}', 'view');";
unset($value[$row]['target']);
}
}
break;