mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 21:15:41 +00:00
Add callback for "remove row" button
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user