Updated Branches: refs/heads/4.2 19548ec51 -> 5b112820c refs/heads/master 59788c147 -> b41ed8a3e
CLOUDSTACK-3475: Fix tier id not being passed to autoscale UI Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b41ed8a3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b41ed8a3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b41ed8a3 Branch: refs/heads/master Commit: b41ed8a3eccf4206c5fbc6fa7d0f84013bea631e Parents: 59788c1 Author: Brian Federle <[email protected]> Authored: Wed Jul 17 13:46:35 2013 -0700 Committer: Brian Federle <[email protected]> Committed: Wed Jul 17 13:46:47 2013 -0700 ---------------------------------------------------------------------- ui/scripts/ui-custom/autoscaler.js | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b41ed8a3/ui/scripts/ui-custom/autoscaler.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui-custom/autoscaler.js b/ui/scripts/ui-custom/autoscaler.js index 2f6ce38..119b672 100644 --- a/ui/scripts/ui-custom/autoscaler.js +++ b/ui/scripts/ui-custom/autoscaler.js @@ -340,6 +340,11 @@ click: function() { var data = cloudStack.serializeForm($('.ui-dialog .autoscaler form')); + // Pass VPC data + if (formData.tier) { + data.tier = formData.tier; + } + $loading.appendTo($autoscalerDialog); cloudStack.autoscaler.actions.apply({ formData: formData,
