Repository: cloudstack
Updated Branches:
  refs/heads/master 31a42d2b7 -> 0af0c041e


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)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0af0c041
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0af0c041
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0af0c041

Branch: refs/heads/master
Commit: 0af0c041e9b05d52d72936b6ecd194ee07be7421
Parents: 31a42d2
Author: Jessica Wang <jessicaw...@apache.org>
Authored: Thu Oct 9 13:14:52 2014 -0700
Committer: Jessica Wang <jessicaw...@apache.org>
Committed: Thu Oct 9 13:15:03 2014 -0700

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0af0c041/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index 5597a7b..8ec88b3 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -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({

Reply via email to