mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 12381: fix a bug that opening another window to view console causes a JavaScript error "invalid argument"
This commit is contained in:
parent
c2bfc51b2b
commit
16ff38d0fd
@ -1467,7 +1467,7 @@
|
||||
return clientConsoleUrl + '?cmd=access&vm=' + args.context.instances[0].id;
|
||||
},
|
||||
title: function(args) {
|
||||
return getVmName(args.context.instances[0].name, args.context.instances[0].displayname) + ' console';
|
||||
return "console"; //can't have space in window name in window.open()
|
||||
},
|
||||
width: 820,
|
||||
height: 640
|
||||
|
||||
@ -1735,7 +1735,7 @@
|
||||
return clientConsoleUrl + '?cmd=access&vm=' + args.context.routers[0].id;
|
||||
},
|
||||
title: function(args) {
|
||||
return args.context.routers[0].name + ' console';
|
||||
return "console"; //can't have space in window name in window.open()
|
||||
},
|
||||
width: 820,
|
||||
height: 640
|
||||
@ -3980,7 +3980,7 @@
|
||||
return clientConsoleUrl + '?cmd=access&vm=' + args.context.systemVMs[0].id;
|
||||
},
|
||||
title: function(args) {
|
||||
return args.context.systemVMs[0].systemvmtype + ' console';
|
||||
return "console"; //can't have space in window name in window.open()
|
||||
},
|
||||
width: 820,
|
||||
height: 640
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user