cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/4.3 to 5b56c7f
Date Fri, 12 Dec 2014 18:11:45 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.3 afe1323a5 -> 5b56c7fcb


scripts: Fix UI issue when deploying instance through host view

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/4.3
Commit: 5b56c7fcb57dbfe3e82ba47bbc9ab9dc4c4f3d79
Parents: afe1323
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Fri Dec 12 23:40:48 2014 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Fri Dec 12 23:41:33 2014 +0530

----------------------------------------------------------------------
 ui/scripts/instanceWizard.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5b56c7fc/ui/scripts/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js
index 807f075..1b9dd49 100644
--- a/ui/scripts/instanceWizard.js
+++ b/ui/scripts/instanceWizard.js
@@ -819,8 +819,11 @@
             	});
             }
 
-            if (g_hostid != null)
-                array1.push("&hostid=" + g_hostid);
+            if (g_hostid != null) {
+                $.extend(deployVmData, {
+                    hostid: g_hostid
+                });
+            }
 
             $.ajax({
                 url: createURL('deployVirtualMachine'),


Mime
View raw message