Display error if setting update failes

This commit is contained in:
Oliver 2022-02-03 15:46:44 +11:00
parent 5cd5ee81af
commit bf528db4ab

View File

@ -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);
} }
} }
); );