mirror of https://github.com/apache/cloudstack.git
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:
parent
49da17327f
commit
29cbd5ea42
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue