mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display error if setting update failes
This commit is contained in:
parent
5cd5ee81af
commit
bf528db4ab
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user