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)

(cherry picked from commit 0af0c041e9b05d52d72936b6ecd194ee07be7421)
This commit is contained in:
Jessica Wang 2014-10-09 13:14:52 -07:00 committed by David Nalley
parent db79dd1ef5
commit 51d274b9ad

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({