You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/07/17 22:47:10 UTC
[2/2] git commit: updated refs/heads/4.2 to 5b11282
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/5b112820
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5b112820
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5b112820
Branch: refs/heads/4.2
Commit: 5b112820c24924bedd0cdf17cf61b3006f4f18f4
Parents: 19548ec
Author: Brian Federle <br...@citrix.com>
Authored: Wed Jul 17 13:46:35 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Wed Jul 17 13:46:59 2013 -0700
----------------------------------------------------------------------
ui/scripts/ui-custom/autoscaler.js | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5b112820/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,