Bugfix for bootstrap-table.j

"Refreshing" the table options did not work proper good
This commit is contained in:
Oliver Walters 2020-04-10 23:54:10 +10:00
parent 5d141a0b98
commit 4256d09e80
2 changed files with 1 additions and 7 deletions

View File

@ -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',

View File

@ -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");