From e94d69d6bc8bbd41de354b3a9194428631d0e8f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 8 Nov 2012 21:16:35 +0000 Subject: [PATCH] Is 'test' target JSON? --- js/ajax-common.js | 2 +- js/core-common.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5