2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 17:56:30 +00:00

Stock table button cleanup

This commit is contained in:
Oliver Walters
2021-01-18 21:52:20 +11:00
parent 952da19600
commit 6a7c722efc
4 changed files with 37 additions and 9 deletions

View File

@@ -625,9 +625,19 @@ function loadStockTable(table, options) {
],
});
/*
if (options.buttons) {
linkButtonsToSelection(table, options.buttons);
}
*/
linkButtonsToSelection(
table,
[
'#stock-print-options',
'#stock-options',
]
);
function stockAdjustment(action) {
var items = $("#stock-table").bootstrapTable("getSelections");