From: Roland Häder Date: Thu, 8 Nov 2012 21:16:35 +0000 (+0000) Subject: Is 'test' target JSON? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e94d69d6bc8bbd41de354b3a9194428631d0e8f8;p=mailer.git Is 'test' target JSON? --- diff --git a/js/ajax-common.js b/js/ajax-common.js index df1eb32fe1..cad73bbbac 100644 --- a/js/ajax-common.js +++ b/js/ajax-common.js @@ -308,7 +308,7 @@ function displayTestWindow (prefix, element) { }); // Request it from the AJAX backend - if (sendAjaxRequest(prefix, 'test', '') == true) { + if (sendAjaxRequest(prefix, 'test', '', true) == true) { // Transfer the returned content to the prefix_warning_content id $('#' + prefix + '_warning_content').html(getAjaxContent()); diff --git a/js/core-common.js b/js/core-common.js index e164885244..77d08f337b 100644 --- a/js/core-common.js +++ b/js/core-common.js @@ -39,7 +39,7 @@ function in_array (needle, heystack) { isInArray = true; break; } // END - if - } // END - if + } // END - for // Return status return isInArray;