CLOUDSTACK-5719: UI > Network > Add Guest Network > when Physical Network dropdown is changed, refresh Network Offering dropdown (because each physical network has its own tags which maps to different network offerings)

This commit is contained in:
Jessica Wang 2014-10-09 13:14:52 -07:00
parent 31a42d2b7a
commit 0af0c041e9
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ var addGuestNetworkDialog = {
networkOfferingId: {
label: 'label.network.offering',
docID: 'helpGuestNetworkZoneNetworkOffering',
dependsOn: ['zoneId', 'scope'],
dependsOn: ['zoneId', 'physicalNetworkId', 'scope'],
select: function(args) {
if(args.$form.find('.form-item[rel=zoneId]').find('select').val() == null || args.$form.find('.form-item[rel=zoneId]').find('select').val().length == 0) {
args.response.success({