From c39eaf3beccd5549d3552978f0ee49b364d90380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Houlbr=C3=A8que?= Date: Wed, 13 Feb 2013 00:41:14 +0100 Subject: [PATCH] Possible fix to issue #608 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When validating a form with Ajax field validation and binding the jqv.field.resultĀ to monitor validation changes and alter for example the class of theĀ field using jQuery, currently, the status will stay like there was an error, even if the Ajax check succeeded. This fix seems to solve the issue without breaking the script logics. I offer then this possible bugfix. --- js/jquery.validationEngine.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/jquery.validationEngine.js b/js/jquery.validationEngine.js index 8749a4f..d01e5fd 100755 --- a/js/jquery.validationEngine.js +++ b/js/jquery.validationEngine.js @@ -1432,6 +1432,7 @@ if (options.showPrompts) methods._showPrompt(errorField, msg, "", true, options); } else { options.ajaxValidCache[errorFieldId] = true; + options.isError = false; // resolves the msg prompt if(msg) {