Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #184 - resetForm: should unset lastElement

  • Loading branch information...
commit 1c0a1408f7ad469ffe5fb8e99b999dc8b1e6eeb0 1 parent d3f9b46
Jörn Zaefferer jzaefferer authored

Showing 2 changed files with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  changelog.txt
  2. +1 0  jquery.validate.js
1  changelog.txt
@@ -10,6 +10,7 @@
10 10 * Added 'pattern' to additional-methods to validate against arbitraty regular expressions.
11 11 * Improved email method to not allow the dot at the end (valid by RFC, but unwanted here). Fixes #143
12 12 * Fixed swedish and norwedian translations, min/max messages got switched. Fixes #181
  13 +* Fixed #184 - resetForm: should unset lastElement
13 14
14 15 1.8.1
15 16 ---
1  jquery.validate.js
@@ -394,6 +394,7 @@ $.extend($.validator, {
394 394 if ( $.fn.resetForm )
395 395 $( this.currentForm ).resetForm();
396 396 this.submitted = {};
  397 + this.lastElement = null;
397 398 this.prepareForm();
398 399 this.hideErrors();
399 400 this.elements().removeClass( this.settings.errorClass );

0 comments on commit 1c0a140

Please sign in to comment.
Something went wrong with that request. Please try again.