Merge pull request #2623 from SchrodingersGat/bom-re-upload

Allow BOM file to be "re-uploaded"
This commit is contained in:
Oliver authored and GitHub committed 2022-02-13 21:58:44 +11:00
commit 1cc8fd28c0
1 file changed
+4 -1
@@ -89,8 +89,11 @@ $('#bom-upload').click(function() {
},
title: '{% trans "Upload BOM File" %}',
onSuccess: function(response) {
$('#bom-upload').hide();
// Clear existing entries from the table
$('.bom-import-row').remove();
// Disable the "submit" button
$('#bom-submit').show();
constructBomUploadTable(response);