From cb19a192a9217f19dc7a89e5d3a59f890f38b639 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 8 Mar 2022 17:21:11 +0100 Subject: [PATCH] Do not display empty messages --- assets/js/general_functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/general_functions.js b/assets/js/general_functions.js index a98ba73a..b5b341ce 100755 --- a/assets/js/general_functions.js +++ b/assets/js/general_functions.js @@ -323,7 +323,7 @@ window.GeneralFunctions = window.GeneralFunctions || {}; response = {message: jqXHR.responseText}; // String response } - if (!response) { + if (!response || !response.message) { return; }