From b41ed8a3eccf4206c5fbc6fa7d0f84013bea631e Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Wed, 17 Jul 2013 13:46:35 -0700 Subject: [PATCH] CLOUDSTACK-3475: Fix tier id not being passed to autoscale UI --- ui/scripts/ui-custom/autoscaler.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/scripts/ui-custom/autoscaler.js b/ui/scripts/ui-custom/autoscaler.js index 2f6ce386fc3..119b67261eb 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,