mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 01:17:33 -04:00 
			
		
		
		
	Working on time tracker
This commit is contained in:
		
							parent
							
								
									aac382321a
								
							
						
					
					
						commit
						4ff0a075ca
					
				| @ -79,6 +79,7 @@ | |||||||
|                 }, |                 }, | ||||||
|                 error: function(error) { |                 error: function(error) { | ||||||
|                     toastr.error("{{ trans('texts.error_refresh_page') }}"); |                     toastr.error("{{ trans('texts.error_refresh_page') }}"); | ||||||
|  |                     swal('failed to bulk save'); | ||||||
|                 } |                 } | ||||||
|             }); |             }); | ||||||
|         } |         } | ||||||
| @ -437,6 +438,7 @@ | |||||||
|         self.save = function(data, isSelected) { |         self.save = function(data, isSelected) { | ||||||
|             if (self.isValid() !== true) { |             if (self.isValid() !== true) { | ||||||
|                 toastr.error("{{ trans('texts.error_refresh_page') }}"); |                 toastr.error("{{ trans('texts.error_refresh_page') }}"); | ||||||
|  |                 swal('not valid on save'); | ||||||
|                 throw self.isValid(); |                 throw self.isValid(); | ||||||
|                 return; |                 return; | ||||||
|             } |             } | ||||||
| @ -506,6 +508,7 @@ | |||||||
|                 }, |                 }, | ||||||
|                 error: function(error) { |                 error: function(error) { | ||||||
|                     toastr.error("{{ trans('texts.error_refresh_page') }}"); |                     toastr.error("{{ trans('texts.error_refresh_page') }}"); | ||||||
|  |                     swal('failed to save'); | ||||||
|                 }, |                 }, | ||||||
|             }); |             }); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user