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',
|
key: 'getOptions',
|
||||||
value: function getOptions() {
|
value: function getOptions() {
|
||||||
// deep copy and remove data
|
return this.options;
|
||||||
var options = JSON.parse(JSON.stringify(this.options));
|
|
||||||
delete options.data;
|
|
||||||
return options;
|
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: 'getSelections',
|
key: 'getSelections',
|
||||||
|
@ -359,9 +359,6 @@ function loadStockTable(table, options) {
|
|||||||
linkButtonsToSelection(table, options.buttons);
|
linkButtonsToSelection(table, options.buttons);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display the filters
|
|
||||||
updateStockFilterList(filterListElement);
|
|
||||||
|
|
||||||
function stockAdjustment(action) {
|
function stockAdjustment(action) {
|
||||||
var items = $("#stock-table").bootstrapTable("getSelections");
|
var items = $("#stock-table").bootstrapTable("getSelections");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user