CS-15900:InterVlan - UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network

This commit is contained in:
Pranav Saxena 2012-08-08 20:24:14 +05:30
parent 49da17327f
commit 29cbd5ea42
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}