diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js index c65a5b73b78..5d400bbedc3 100644 --- a/ui/scripts/ui-custom/vpc.js +++ b/ui/scripts/ui-custom/vpc.js @@ -194,6 +194,7 @@ maximizeIfSelected: true, complete: function($panel) { $panel.detailView($.extend(true, {}, detailView, { + $browser: $browser, context: context })); } diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index b73cb7b8625..384e58a7482 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1084,9 +1084,6 @@ tiers: { detailView: { //duplicate from cloudStack.sections.network.sections.networks.listView.detailView (begin) name: 'Guest network details', - - //comment out until JS error "$browser is undefined" is fixed - /* viewAll: { path: 'network.ipAddresses', label: 'label.menu.ipaddresses', @@ -1143,8 +1140,6 @@ return false; } }, - */ - actions: { edit: { label: 'label.edit',