diff --git a/assets/js/pages/settings/sections/general.js b/assets/js/pages/settings/sections/general.js index b25ddc1c..386d4fb0 100644 --- a/assets/js/pages/settings/sections/general.js +++ b/assets/js/pages/settings/sections/general.js @@ -55,6 +55,7 @@ ComunicWeb.pages.settings.sections.general = { if(infos.error){ var errMsg = ComunicWeb.common.messages.createCalloutElem("Error", "An error occured while retrieving account settings...", "danger"); boxBody.appendChild(errMsg); + return; } //Display the settings form