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) Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7da55df5 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7da55df5 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7da55df5 Branch: refs/heads/4.4 Commit: 7da55df56bf68e9ac0d9fb18d7462648d50c459f Parents: 73895a5 Author: Jessica Wang <[email protected]> Authored: Thu Oct 9 13:14:52 2014 -0700 Committer: Rohit Yadav <[email protected]> Committed: Thu Dec 11 20:51:33 2014 +0530 ---------------------------------------------------------------------- ui/scripts/sharedFunctions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7da55df5/ui/scripts/sharedFunctions.js ---------------------------------------------------------------------- diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js index 1ed90c2..2daeba5 100644 --- a/ui/scripts/sharedFunctions.js +++ b/ui/scripts/sharedFunctions.js @@ -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({
