mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 13697: title in window.open() can't have space nor longer than 8 characters. Otherwise, IE browser will have error.
This commit is contained in:
parent
24f8affcb8
commit
2e97670745
@ -1470,8 +1470,8 @@
|
||||
url: function(args) {
|
||||
return clientConsoleUrl + '?cmd=access&vm=' + args.context.instances[0].id;
|
||||
},
|
||||
title: function(args) {
|
||||
return "console" + args.context.instances[0].id; //can't have space in window name in window.open()
|
||||
title: function(args) {
|
||||
return args.context.instances[0].id.substr(0,8); //title in window.open() can't have space nor longer than 8 characters. Otherwise, IE browser will have error.
|
||||
},
|
||||
width: 820,
|
||||
height: 640
|
||||
|
||||
@ -2116,9 +2116,9 @@
|
||||
url: function(args) {
|
||||
return clientConsoleUrl + '?cmd=access&vm=' + args.context.routers[0].id;
|
||||
},
|
||||
title: function(args) {
|
||||
return "console"; //can't have space in window name in window.open()
|
||||
},
|
||||
title: function(args) {
|
||||
return args.context.routers[0].id.substr(0,8); //title in window.open() can't have space nor longer than 8 characters. Otherwise, IE browser will have error.
|
||||
},
|
||||
width: 820,
|
||||
height: 640
|
||||
}
|
||||
@ -3660,9 +3660,9 @@
|
||||
url: function(args) {
|
||||
return clientConsoleUrl + '?cmd=access&vm=' + args.context.systemVMs[0].id;
|
||||
},
|
||||
title: function(args) {
|
||||
return "console"; //can't have space in window name in window.open()
|
||||
},
|
||||
title: function(args) {
|
||||
return args.context.systemVMs[0].id.substr(0,8); //title in window.open() can't have space nor longer than 8 characters. Otherwise, IE browser will have error.
|
||||
},
|
||||
width: 820,
|
||||
height: 640
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user