mirror of https://github.com/apache/cloudstack.git
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:
parent
ef15652237
commit
8c0be2e34a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue