Skip to content

Commit

Permalink
fixed error created by ajax function
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric Dugas committed Feb 24, 2011
1 parent 778b776 commit f9cb4f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/jquery.validationEngine.js
Expand Up @@ -199,7 +199,6 @@
var options = form.data('jqv');
// validate the form using AJAX
if (r && options.ajaxFormValidation) {

methods._validateFormWithAjax(form, options);
return false;
}
Expand Down Expand Up @@ -482,7 +481,7 @@
options.showArrow = false;
}

if (isAjaxValidator) {
if (!isAjaxValidator) {
if (options.isError)
methods._showPrompt(field, promptText, "", false, options);
else
Expand Down

0 comments on commit f9cb4f1

Please sign in to comment.