Skip to content

Commit 5f8a278

Browse files
author
Jessica Wang
committed
CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - make loginCmdText local.
1 parent b1f67a0 commit 5f8a278

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ui/scripts/cloudStack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,11 @@
255255
array1.push("&domain=" + encodeURIComponent("/"));
256256
}
257257

258-
g_loginCmdText = array1.join("");
258+
var loginCmdText = array1.join("");
259259

260260
$.ajax({
261261
type: "POST",
262-
data: "command=login" + g_loginCmdText + "&response=json",
262+
data: "command=login" + loginCmdText + "&response=json",
263263
dataType: "json",
264264
async: false,
265265
success: function(json) {

ui/scripts/ui-custom/regions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
closeRegionSelector({
9090
complete: function() {
9191
$('#container').prepend($('<div>').addClass('loading-overlay'));
92-
window.name = g_loginCmdText;
92+
//window.name = g_loginCmdText;
9393
document.location.href = url;
9494
}
9595
});

0 commit comments

Comments
 (0)