From 431b8fe7086392f4ec4b7a35afb2a75fbfeff2b5 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Mon, 30 Jul 2012 15:10:48 -0700 Subject: [PATCH] CS-15753: Re-enable 'view all ip addresses' link on tier details. --this was disabled previously due to a bug in the VPC widget, which is also fixed with this commit. --- ui/scripts/ui-custom/vpc.js | 1 + ui/scripts/vpc.js | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) 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',