diff --git a/branches/ucs-3.2/ucs-3.2-0/virtualization/univention-virtual-machine-manager-daemon/umc/js/uvmm.js b/branches/ucs-3.2/ucs-3.2-0/virtualization/univention-virtual-machine-manager-daemon/umc/js/uvmm.js index 2cc4d98..7caf31a 100644 --- a/branches/ucs-3.2/ucs-3.2-0/virtualization/univention-virtual-machine-manager-daemon/umc/js/uvmm.js +++ b/branches/ucs-3.2/ucs-3.2-0/virtualization/univention-virtual-machine-manager-daemon/umc/js/uvmm.js @@ -318,10 +318,12 @@ define([ }, vncLink: function( ids, items ) { - array.forEach(ids, function(id) { + array.forEach(items, function(item) { + var id = item.id; var uuid = id.slice(id.indexOf('#') + 1); var port = window.location.port ? ':' + window.location.port : ''; - var url = window.location.protocol + '//' + window.location.host + port + '/univention-novnc/vnc_auto.html?port=6080&path=?token=' + uuid; + var title = encodeURIComponent(item.label + '@' + item.nodeName); + var url = window.location.protocol + '//' + window.location.host + port + '/univention-novnc/vnc_auto.html?port=6080&path=?token=' + uuid + '&title=' + title; window.open(url, '_blank'); }); },