mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 05:48:47 +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) {
|
data.rows.forEach(function(row, idx) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user