You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2012/08/21 22:13:02 UTC

git commit: VPC UI: Network ACL: Only show 'acl' tab on detail view

Updated Branches:
  refs/heads/master b7f920b4c -> 5d94a8de8


VPC UI: Network ACL: Only show 'acl' tab on detail view

reviewed-by: jessica


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

Branch: refs/heads/master
Commit: 5d94a8de8c83ca2d97314e619ab73827ca77b941
Parents: b7f920b
Author: Brian Federle <br...@citrix.com>
Authored: Tue Aug 21 13:12:06 2012 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Aug 21 13:12:52 2012 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/vpc.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5d94a8de/ui/scripts/ui-custom/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js
index f6214b8..1ef4539 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 }