incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: VPC UI: Network ACL: Only show 'acl' tab on detail view
Date Tue, 21 Aug 2012 20:13:02 GMT
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 <brian.federle@citrix.com>
Authored: Tue Aug 21 13:12:06 2012 -0700
Committer: Brian Federle <brian.federle@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 }


Mime
View raw message