Updated Branches:
  refs/heads/autoscale 383884137 -> 77eec3d3c

CS-15836: cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - 
fix a bug that root-admin was unable to see autoscale created by regular-user 
or domain-admin.


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

Branch: refs/heads/autoscale
Commit: 77eec3d3cf03f02ef56c8c015a744e2972e5faf5
Parents: 3838841
Author: Jessica Wang <[email protected]>
Authored: Tue Aug 7 14:33:16 2012 -0700
Committer: Jessica Wang <[email protected]>
Committed: Wed Aug 8 10:38:37 2012 -0700

----------------------------------------------------------------------
 ui/scripts/autoscaler.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/77eec3d3/ui/scripts/autoscaler.js
----------------------------------------------------------------------
diff --git a/ui/scripts/autoscaler.js b/ui/scripts/autoscaler.js
index 37bb806..bab01cb 100644
--- a/ui/scripts/autoscaler.js
+++ b/ui/scripts/autoscaler.js
@@ -97,6 +97,7 @@
                                $.ajax({
                                  url: createURL('listAutoScaleVmGroups'),
                                        data: {
+                                         listAll: true,
                                          lbruleid: 
args.context.multiRules[0].id
                                        },                                      
                                        success: function(json) {               
                          
@@ -105,6 +106,7 @@
                                                $.ajax({
                                                  url: 
createURL('listAutoScaleVmProfiles'),
                                                        data: {
+                                                         listAll: true,
                                                          id: 
autoscaleVmGroup.vmprofileid
                                                        }, 
                                                        success: function(json) 
{                                                         

Reply via email to