From bf528db4ab585744b57e1eb11d70de7004120a35 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 3 Feb 2022 15:46:44 +1100 Subject: [PATCH] Display error if setting update failes --- InvenTree/templates/InvenTree/settings/settings.html | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/templates/InvenTree/settings/settings.html b/InvenTree/templates/InvenTree/settings/settings.html index 4b6c9e9320..ba27187747 100644 --- a/InvenTree/templates/InvenTree/settings/settings.html +++ b/InvenTree/templates/InvenTree/settings/settings.html @@ -91,6 +91,7 @@ $('table').find('.boolean-setting').change(function() { onSuccess: function(data) { }, error: function(xhr) { + showApiError(xhr, url); } } );