mirror of https://github.com/apache/cloudstack.git
CS-15770:Dedicated option should not be displayed when Basic EIP/ELB is chosen as Network Offering
This commit is contained in:
parent
a8c6855229
commit
c1b746a4f1
|
|
@ -545,7 +545,17 @@
|
|||
},
|
||||
|
||||
basicPhysicalNetwork: { //"Netscaler" now
|
||||
preFilter: cloudStack.preFilter.addLoadBalancerDevice,
|
||||
preFilter: cloudStack.preFilter.addLoadBalancerDevice,
|
||||
//Handling the hiding of "dedicated" option
|
||||
preFilter: function(args) {
|
||||
if (args.data['network-model'] == 'Basic' && (selectedNetworkOfferingHavingELB || selectedNetworkOfferingHavingEIP)) {
|
||||
args.$form.find('[rel=dedicated]').hide();
|
||||
} else {
|
||||
args.$form.find('[rel=dedicated]').show();
|
||||
};
|
||||
cloudStack.preFilter.addLoadBalancerDevice
|
||||
},
|
||||
|
||||
fields: {
|
||||
ip: {
|
||||
label: 'label.ip.address'
|
||||
|
|
|
|||
Loading…
Reference in New Issue