mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 02:57:33 -05:00 
			
		
		
		
	Fix for saving change to WePay settings
This commit is contained in:
		
							parent
							
								
									93aa212a07
								
							
						
					
					
						commit
						c2d03a59c6
					
				@ -298,11 +298,13 @@
 | 
				
			|||||||
            $('.secondary-gateway').show();
 | 
					            $('.secondary-gateway').show();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (primaryId == {{ GATEWAY_WEPAY }}) {
 | 
							@if (! $accountGateway)
 | 
				
			||||||
			$('.save-button').prop('disabled', true);
 | 
								if (primaryId == {{ GATEWAY_WEPAY }}) {
 | 
				
			||||||
		} else {
 | 
									$('.save-button').prop('disabled', true);
 | 
				
			||||||
			$('.save-button').prop('disabled', false);
 | 
								} else {
 | 
				
			||||||
		}
 | 
									$('.save-button').prop('disabled', false);
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							@endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var val = primaryId || secondaryId;
 | 
					        var val = primaryId || secondaryId;
 | 
				
			||||||
        $('.gateway-fields').hide();
 | 
					        $('.gateway-fields').hide();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user