From 29cbd5ea42c06c7085943cbe8bf989ac079f38e9 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Wed, 8 Aug 2012 20:24:14 +0530 Subject: [PATCH] CS-15900:InterVlan - UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network --- ui/scripts/network.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 2c18a192569..9bea5e0d78f 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1098,9 +1098,10 @@ addRow: 'true', preFilter: function(args) { if('networks' in args.context) { //from Guest Network section - if(args.context.networks[0].vpcid == null) //if it's a non-VPC network, show Acquire IP button + if(args.context.networks[0].vpcid == null){ //if it's a non-VPC network, show Acquire IP button checkVpc=0; return true; + } else //if it's a VPC network, hide Acquire IP button return false; }