Tier details: disable view all link, ACL tab

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

Branch: refs/heads/ui-vpc-redesign
Commit: 2eb29a5d81d8948ccfabb987cb859a2c995091e3
Parents: daf3926
Author: Brian Federle <[email protected]>
Authored: Fri May 10 15:42:18 2013 -0700
Committer: Brian Federle <[email protected]>
Committed: Fri May 10 15:42:18 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2eb29a5d/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 6033f50..5109724 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -1483,6 +1483,9 @@
           path: 'network.ipAddresses',
           label: 'label.menu.ipaddresses',
           preFilter: function(args) {
+            return false;
+
+            /// Disabled
             if (args.context.networks[0].state == 'Destroyed')
               return false;
 
@@ -1753,7 +1756,7 @@
             }
           });
 
-          var hiddenTabs = ['ipAddresses']; // Disable IP address tab; it is 
redundant with 'view all' button
+          var hiddenTabs = ['ipAddresses', 'acl']; // Disable IP address tab; 
it is redundant with 'view all' button
           
           if(networkOfferingHavingELB == false)
             hiddenTabs.push("addloadBalancer");

Reply via email to