From 5d94a8de8c83ca2d97314e619ab73827ca77b941 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 21 Aug 2012 13:12:06 -0700 Subject: [PATCH] VPC UI: Network ACL: Only show 'acl' tab on detail view reviewed-by: jessica --- ui/scripts/ui-custom/vpc.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js index f6214b87954..1ef45394744 100644 --- a/ui/scripts/ui-custom/vpc.js +++ b/ui/scripts/ui-custom/vpc.js @@ -97,7 +97,15 @@ } } }, - detailView: tierDetailView + detailView: function() { + var detailView = $.extend(true, {}, tierDetailView); + + detailView.tabs = { + acl: tierDetailView.tabs.acl + }; + + return detailView; + } } }), { context: acl.context }