mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	Instance wizard: Fix checkbox selection
Fix where VPC network is uncheckable if only VPC networks are present, and 'add network' form is visible and checked.
This commit is contained in:
		
							parent
							
								
									fcf9b57f08
								
							
						
					
					
						commit
						16250f8e4b
					
				@ -119,7 +119,11 @@
 | 
			
		||||
                            $select.siblings('.single-select:visible').find('input[type=checkbox]')
 | 
			
		||||
                              .attr('checked', false);
 | 
			
		||||
 | 
			
		||||
                            $(this).closest('.select').find('input[type=radio]').click();
 | 
			
		||||
                            if (!$('input[name=new-network]:visible').is(':checked')) {
 | 
			
		||||
                              $(this).closest('.select').find('input[type=radio]').click();
 | 
			
		||||
                            } else {
 | 
			
		||||
                              $newNetwork.find('input[type=radio]').click();
 | 
			
		||||
                            }
 | 
			
		||||
                          }
 | 
			
		||||
 | 
			
		||||
                          if ((!$otherSelects.size()) &&
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user