cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [47/48] git commit: updated refs/heads/ui-vm-affinity to 96999be
Date Thu, 11 Apr 2013 22:13:55 GMT
CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - make loginCmdText local.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5f8a2781
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5f8a2781
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5f8a2781

Branch: refs/heads/ui-vm-affinity
Commit: 5f8a2781967971e28bc2751d0903d9c99ea4e28e
Parents: b1f67a0
Author: Jessica Wang <jessica.wang@citrix.com>
Authored: Thu Apr 11 13:38:25 2013 -0700
Committer: Jessica Wang <jessica.wang@citrix.com>
Committed: Thu Apr 11 13:39:04 2013 -0700

----------------------------------------------------------------------
 ui/scripts/cloudStack.js        |    4 ++--
 ui/scripts/ui-custom/regions.js |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5f8a2781/ui/scripts/cloudStack.js
----------------------------------------------------------------------
diff --git a/ui/scripts/cloudStack.js b/ui/scripts/cloudStack.js
index 0cf80b0..a8bca91 100644
--- a/ui/scripts/cloudStack.js
+++ b/ui/scripts/cloudStack.js
@@ -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) {			

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5f8a2781/ui/scripts/ui-custom/regions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/regions.js b/ui/scripts/ui-custom/regions.js
index 2f61dfd..0469638 100644
--- a/ui/scripts/ui-custom/regions.js
+++ b/ui/scripts/ui-custom/regions.js
@@ -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;
         }
       });


Mime
View raw message