From ae374510c1de1eb7d471e9c9c320764e57e1a634 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Wed, 24 May 2023 17:14:54 +0300 Subject: [PATCH] Add error message when settings could not be saved to the server. --- public/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/script.js b/public/script.js index a7c27dd26..482218956 100644 --- a/public/script.js +++ b/public/script.js @@ -3991,6 +3991,7 @@ async function saveSettings(type) { } }, error: function (jqXHR, exception) { + toastr.error('Check the server connection and reload the page to prevent data loss.', 'Settings could not be saved'); console.log(exception); console.log(jqXHR); },