mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-18 02:36:31 +00:00
Display error if setting update failes
This commit is contained in:
@@ -91,6 +91,7 @@ $('table').find('.boolean-setting').change(function() {
|
|||||||
onSuccess: function(data) {
|
onSuccess: function(data) {
|
||||||
},
|
},
|
||||||
error: function(xhr) {
|
error: function(xhr) {
|
||||||
|
showApiError(xhr, url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user