mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Use js link registry to open links, allows more accurate target (popup, tab, _blank)
This commit is contained in:
parent
e5cbfc5601
commit
22668f078d
@ -324,6 +324,9 @@ class link_widget
|
|||||||
$value[$row]['icon'] = egw_link::get_registry($value[$row]['app'], 'icon');
|
$value[$row]['icon'] = egw_link::get_registry($value[$row]['app'], 'icon');
|
||||||
$value[$row]['label'] = 'Unlink';
|
$value[$row]['label'] = 'Unlink';
|
||||||
$value[$row]['help'] = lang('Remove this link (not the entry itself)');
|
$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;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user