mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Merge pull request #2623 from SchrodingersGat/bom-re-upload
Allow BOM file to be "re-uploaded"
This commit is contained in:
		| @@ -89,8 +89,11 @@ $('#bom-upload').click(function() { | |||||||
|         }, |         }, | ||||||
|         title: '{% trans "Upload BOM File" %}', |         title: '{% trans "Upload BOM File" %}', | ||||||
|         onSuccess: function(response) { |         onSuccess: function(response) { | ||||||
|             $('#bom-upload').hide(); |  | ||||||
|  |  | ||||||
|  |             // Clear existing entries from the table | ||||||
|  |             $('.bom-import-row').remove(); | ||||||
|  |  | ||||||
|  |             // Disable the "submit" button | ||||||
|             $('#bom-submit').show(); |             $('#bom-submit').show(); | ||||||
|  |  | ||||||
|             constructBomUploadTable(response); |             constructBomUploadTable(response); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user