Updated Branches:
  refs/heads/master fe3786341 -> 78b3b1ad8

CS-15977: cloudstack 3.0 UI - VM Wizard - select network step (5th step) - if 
there is no visible network in Existing Networks Area, check checkbox in Add 
Network Area.


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

Branch: refs/heads/master
Commit: 78b3b1ad83401cf2a607d8104e79ed7da754f0d0
Parents: fe37863
Author: Jessica Wang <[email protected]>
Authored: Tue Aug 14 15:50:20 2012 -0700
Committer: Jessica Wang <[email protected]>
Committed: Tue Aug 14 15:53:18 2012 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/instanceWizard.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/78b3b1ad/ui/scripts/ui-custom/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/instanceWizard.js 
b/ui/scripts/ui-custom/instanceWizard.js
index 8415fa9..a06d5a0 100644
--- a/ui/scripts/ui-custom/instanceWizard.js
+++ b/ui/scripts/ui-custom/instanceWizard.js
@@ -486,7 +486,7 @@
               var $checkbox = $step.find('.new-network input[type=checkbox]');
               var $newNetwork = $checkbox.closest('.new-network');
 
-              if ($step.find('.select.my-networks .select-container 
.select').size()) {
+              if ($step.find('.select.my-networks .select-container 
.select:visible').size()) {
                 $checkbox.attr('checked', false);
                 $newNetwork.addClass('unselected');
               } else {

Reply via email to