mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Fix #5276
This commit is contained in:
		
							
								
								
									
										6
									
								
								public/v1/js/ff/firefly.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								public/v1/js/ff/firefly.js
									
									
									
									
										vendored
									
									
								
							| @@ -25,6 +25,12 @@ $(function () { | ||||
|  | ||||
|     configAccounting(currencySymbol); | ||||
|  | ||||
|     // on submit of logout button: | ||||
|     $('.logout-link').click(function(e) { | ||||
|         e.preventDefault(); | ||||
|         document.getElementById('logout-form').submit(); | ||||
|     }); | ||||
|  | ||||
|     // on submit of form, disable any button in form: | ||||
|     $('form.form-horizontal:not(.nodisablebutton)').on('submit', function () { | ||||
|         $('button[type="submit"]').prop('disabled', true); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user