bug 12243: cloudStack 3.0 new UI - system - use a different way to get ID for view console of systemVM.

This commit is contained in:
Jessica Wang 2011-12-05 15:50:57 -08:00
parent ef15652237
commit 8c0be2e34a

View File

@ -3945,11 +3945,11 @@
label: 'View console',
action: {
externalLink: {
url: function(args) {
return clientConsoleUrl + '?cmd=access&vm=' + args.data.id;
url: function(args) {
return clientConsoleUrl + '?cmd=access&vm=' + args.context.systemVMs[0].id;
},
title: function(args) {
return args.data.systemvmtype + ' console';
return args.context.systemVMs[0].systemvmtype + ' console';
},
width: 820,
height: 640