CLOUDSTACK-4089: UI > zone wizard > hypervisor VMware > multiple physical 
networks > edit Public/Guest traffic type > fix a bug that vSwitch Type 
dropdown selection didn't remain after Public/Guest traffic type is dragged to 
another physical network.
(cherry picked from commit 2c2ebee3f7395a6541088eefe91ceaa1b02c70d5)

Signed-off-by: animesh <[email protected]>


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

Branch: refs/heads/4.2
Commit: ae001183fb41ddf262f803767f0b4cc8c5a7a490
Parents: 58e5ad7
Author: Jessica Wang <[email protected]>
Authored: Fri Aug 30 11:03:11 2013 -0700
Committer: animesh <[email protected]>
Committed: Tue Sep 3 16:24:42 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/zoneWizard.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ae001183/ui/scripts/ui-custom/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/zoneWizard.js 
b/ui/scripts/ui-custom/zoneWizard.js
index b8f77a4..254ea63 100644
--- a/ui/scripts/ui-custom/zoneWizard.js
+++ b/ui/scripts/ui-custom/zoneWizard.js
@@ -324,10 +324,10 @@
                                        }, {
                                            id: 'vmwaredvs',
                                            description: 'VMware vNetwork 
Distributed Virtual Switch'
-                                       }],
-                                       defaultValue: trafficData.vSwitchType
+                                       }]
                                    });
-                               }
+                               },
+                               defaultValue: trafficData.vSwitchType
                            }
                        });   
                }               

Reply via email to