From 53993b29941254e0daa7fea9323664563eddd590 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; }