mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bugfix for bootstrap-table.j
"Refreshing" the table options did not work proper good
This commit is contained in:
parent
5d141a0b98
commit
4256d09e80
@ -3272,10 +3272,7 @@
|
||||
}, {
|
||||
key: 'getOptions',
|
||||
value: function getOptions() {
|
||||
// deep copy and remove data
|
||||
var options = JSON.parse(JSON.stringify(this.options));
|
||||
delete options.data;
|
||||
return options;
|
||||
return this.options;
|
||||
}
|
||||
}, {
|
||||
key: 'getSelections',
|
||||
|
@ -359,9 +359,6 @@ function loadStockTable(table, options) {
|
||||
linkButtonsToSelection(table, options.buttons);
|
||||
}
|
||||
|
||||
// Display the filters
|
||||
updateStockFilterList(filterListElement);
|
||||
|
||||
function stockAdjustment(action) {
|
||||
var items = $("#stock-table").bootstrapTable("getSelections");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user