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/eb78e604 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/eb78e604 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/eb78e604 Branch: refs/heads/4.0 Commit: eb78e604bff5ab18064a116f4046591c34ddafbd Parents: 4614e1c Author: Jessica Wang <[email protected]> Authored: Tue Aug 14 15:50:20 2012 -0700 Committer: Alex Huang <[email protected]> Committed: Wed Aug 15 14:09:08 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/eb78e604/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 {
