From 58de3c3dfe250be87eb7fe8741d3cc3a4b61fc1a Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Mon, 5 Nov 2012 15:04:22 -0800 Subject: [PATCH] CS-16735: Tier details: Disable IP address tab Disables IP address tab for VPC tier detail view, as it is redundant with the 'view all' button. --- ui/scripts/vpc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 6ce7e8b2369..e805282aba0 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1614,7 +1614,8 @@ } }); - var hiddenTabs = []; + var hiddenTabs = ['ipAddresses']; // Disable IP address tab; it is redundant with 'view all' button + if(networkOfferingHavingELB == false) hiddenTabs.push("addloadBalancer"); return hiddenTabs;