From eb78e604bff5ab18064a116f4046591c34ddafbd Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 14 Aug 2012 15:50:20 -0700 Subject: [PATCH] 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. --- ui/scripts/ui-custom/instanceWizard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js index 8415fa933f6..a06d5a08598 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 {