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
parent 5acc99c774
commit 09bd57cff2
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,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 {