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.

This commit is contained in:
Jessica Wang 2012-08-14 15:50:20 -07:00 committed by Alex Huang
parent 4614e1c604
commit eb78e604bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 {