2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 11:40:58 +00:00

Fix action buttons in "part" table on category page

This commit is contained in:
Oliver Walters
2022-04-07 19:09:43 +10:00
parent e1fbd961e5
commit e225d3b765
3 changed files with 10 additions and 18 deletions

View File

@ -1581,19 +1581,6 @@ function loadPartTable(table, url, options={}) {
printPartLabels(items);
});
$('#multi-part-export').click(function() {
var selections = $(table).bootstrapTable('getSelections');
var parts = '';
selections.forEach(function(item) {
parts += item.pk;
parts += ',';
});
location.href = '/part/export/?parts=' + parts;
});
}