mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - make loginCmdText local.
This commit is contained in:
parent
b1f67a0881
commit
5f8a278196
|
|
@ -255,11 +255,11 @@
|
|||
array1.push("&domain=" + encodeURIComponent("/"));
|
||||
}
|
||||
|
||||
g_loginCmdText = array1.join("");
|
||||
var loginCmdText = array1.join("");
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
data: "command=login" + g_loginCmdText + "&response=json",
|
||||
data: "command=login" + loginCmdText + "&response=json",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
closeRegionSelector({
|
||||
complete: function() {
|
||||
$('#container').prepend($('<div>').addClass('loading-overlay'));
|
||||
window.name = g_loginCmdText;
|
||||
//window.name = g_loginCmdText;
|
||||
document.location.href = url;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue