You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/12/12 19:11:45 UTC
git commit: updated refs/heads/4.3 to 5b56c7f
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 <ro...@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 <ro...@shapeblue.com>
Authored: Fri Dec 12 23:40:48 2014 +0530
Committer: Rohit Yadav <ro...@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'),