mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Add ability to delete multiple selected manufacturer part parameters
This commit is contained in:
@ -213,7 +213,7 @@ function deleteManufacturerParts(selections, options={}) {
|
||||
});
|
||||
|
||||
// Wait for all the requests to complete
|
||||
$.when(requests).then(function() {
|
||||
$.when.apply($, requests).then(function() {
|
||||
|
||||
if (options.onSuccess) {
|
||||
options.onSuccess();
|
||||
@ -352,7 +352,7 @@ function loadManufacturerPartParameterTable(table, url, options) {
|
||||
{
|
||||
checkbox: true,
|
||||
switchable: false,
|
||||
visible: false,
|
||||
visible: true,
|
||||
},
|
||||
{
|
||||
field: 'name',
|
||||
|
@ -906,7 +906,7 @@ function loadStockTable(table, options) {
|
||||
);
|
||||
});
|
||||
|
||||
$.when(requests).then(function() {
|
||||
$.when.apply($, requests).then(function() {
|
||||
$("#stock-table").bootstrapTable('refresh');
|
||||
});
|
||||
})
|
||||
|
Reference in New Issue
Block a user