incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pran...@apache.org
Subject [38/50] git commit: Add sample _hideFields to loadBalancer
Date Fri, 16 Nov 2012 10:00:32 GMT
Add sample _hideFields to loadBalancer


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

Branch: refs/heads/master
Commit: a7508c12c6b358e23ac334a9426f9cfefa2931b5
Parents: 9fb33ec
Author: Brian Federle <brian.federle@citrix.com>
Authored: Fri Aug 10 10:40:50 2012 -0700
Committer: Vijay Venkatachalam <vijay.venkatachalam@citrix.com>
Committed: Fri Nov 16 10:56:51 2012 +0530

----------------------------------------------------------------------
 ui/scripts/network.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/a7508c12/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index 4d7f8c6..ef9cfbe 100644
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -2695,6 +2695,9 @@
                             var stickyData = {};
                             var lbInstances = [];
 
+                            // Passing _hideFields array will disable specified fields for
this row
+                            //item._hideFields = ['autoScale'];
+
                             // Get sticky data
                             $.ajax({
                               url: createURL('listLBStickinessPolicies'),
@@ -2763,8 +2766,7 @@
                           });
 
                           args.response.success({
-                            data: loadBalancerData,
-                            //hideFields: ['autoScale']
+                            data: loadBalancerData
                           });
                         }
                       });


Mime
View raw message