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 0af0c041e9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Jessica Wang 2014-10-09 13:14:52 -07:00 committed by Rohit Yadav
parent 73895a5bb6
commit 7da55df56b
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,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({