add _blank target for optional url
so that they open in a new tab/window Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
525aed1f87
commit
d26eb607b4
@ -724,7 +724,7 @@ Ext.define('PVE.Utils', { utilities: {
|
||||
render_optional_url: function(value) {
|
||||
var match;
|
||||
if (value && (match = value.match(/^https?:\/\//)) !== null) {
|
||||
return '<a href="' + value + '">' + value + '</a>';
|
||||
return '<a target="_blank" href="' + value + '">' + value + '</a>';
|
||||
}
|
||||
return value;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user