2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 05:46:34 +00:00

Merge remote-tracking branch 'inventree/master' into settings-refactor

This commit is contained in:
Oliver
2021-07-27 14:28:17 +10:00
27 changed files with 98667 additions and 26579 deletions

View File

@ -147,8 +147,7 @@ function inventreeDelete(url, options={}) {
options.method = 'DELETE';
inventreePut(url, {}, options);
return inventreePut(url, {}, options);
}

View File

@ -349,7 +349,7 @@ function deleteManufacturerParts(selections, options={}) {
});
// Wait for all the requests to complete
$.when.apply($, requests).then(function() {
$.when.apply($, requests).done(function() {
if (options.onSuccess) {
options.onSuccess();

View File

@ -287,7 +287,7 @@ function adjustStock(action, items, options={}) {
});
// Wait for *all* the requests to complete
$.when.apply($, requests).then(function() {
$.when.apply($, requests).done(function() {
// Destroy the modal window
$(modal).modal('hide');
@ -1265,7 +1265,7 @@ function loadStockTable(table, options) {
);
});
$.when.apply($, requests).then(function() {
$.when.apply($, requests).done(function() {
$("#stock-table").bootstrapTable('refresh');
});
})