mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:18:33 -05:00 
			
		
		
		
	Working on tests
This commit is contained in:
		
							parent
							
								
									c016639016
								
							
						
					
					
						commit
						7159dd13ce
					
				@ -1429,7 +1429,7 @@
 | 
			
		||||
            $('#saveButton, #emailButton, #draftButton').attr('disabled', true);
 | 
			
		||||
            // if save fails ensure user can try again
 | 
			
		||||
            $.post('{{ url($url) }}', $('.main-form').serialize(), function(data) {
 | 
			
		||||
				if (data && data.startsWith('http')) {
 | 
			
		||||
				if (data && data.startsWith && data.startsWith('http')) {
 | 
			
		||||
					NINJA.formIsChanged = false;
 | 
			
		||||
					location.href = data;
 | 
			
		||||
				} else {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user