Skip to content

Commit

Permalink
Fixed premature return in remote function which prevented ajax call f…
Browse files Browse the repository at this point in the history
…rom being made in case an input was entered too quickly. Ensures remote validation always validates the newest value.
  • Loading branch information
pierreant-p authored and jzaefferer committed Oct 14, 2012
1 parent 5934f4d commit 61e7816
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions jquery.validate.js
Expand Up @@ -1017,9 +1017,6 @@ $.extend($.validator, {

param = typeof param === "string" && {url:param} || param;

if ( this.pending[element.name] ) {
return "pending";
}
if ( previous.old === value ) {
return previous.valid;
}
Expand Down

0 comments on commit 61e7816

Please sign in to comment.