mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add callback for "remove row" button
This commit is contained in:
parent
8a86932c7b
commit
c620107625
@ -89,6 +89,11 @@ function constructBomUploadTable(data, options={}) {
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
// Add callback for "remove row" button
|
||||
$(`#button-row-remove-${idx}`).click(function() {
|
||||
$(`#bom_import_row_${idx}`).remove();
|
||||
});
|
||||
}
|
||||
|
||||
data.rows.forEach(function(row, idx) {
|
||||
|
Loading…
Reference in New Issue
Block a user