Skip to content

Commit 26853e0

Browse files
committed
Fixed bug in event onElementValidated, issue victorjonsson#244
1 parent d325c51 commit 26853e0

12 files changed

+15
-14
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jQuery-Form-Validator",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"homepage": "http://formvalidator.net/",
55
"authors": [
66
"victorjonsson"

form-validator/date.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/#location-validators
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.2.0
13+
* @version 2.2.1
1414
*/
1515
(function($) {
1616

form-validator/file.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.2.0
13+
* @version 2.2.1
1414
*/
1515
(function($, window) {
1616

form-validator/html5.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* @website http://formvalidator.net/
1919
* @license Dual licensed under the MIT or GPL Version 2 licenses
20-
* @version 2.2.0
20+
* @version 2.2.1
2121
*/
2222
(function($, window) {
2323

form-validator/jquery.form-validator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* @website http://formvalidator.net/
77
* @license Dual licensed under the MIT or GPL Version 2 licenses
8-
* @version 2.2.0
8+
* @version 2.2.1
99
*/
1010
(function ($) {
1111

@@ -964,7 +964,7 @@
964964

965965
// Run element validation callback
966966
if (typeof conf.onElementValidate == 'function' && result !== null) {
967-
conf.onElementValidate((result === true), $elem, $form, validationErrorMsg);
967+
conf.onElementValidate(result.isValid, $elem, $form, validationErrorMsg);
968968
}
969969

970970
return result;

form-validator/jquery.form-validator.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

form-validator/jsconf.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @website http://formvalidator.net/#location-validators
99
* @license Dual licensed under the MIT or GPL Version 2 licenses
10-
* @version 2.2.0
10+
* @version 2.2.1
1111
*/
1212
(function($) {
1313

form-validator/location.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/#location-validators
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.2.0
13+
* @version 2.2.1
1414
*/
1515
(function($) {
1616

form-validator/security.dev.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* - cvv
1414
*
1515
* @website http://formvalidator.net/#security-validators
16-
* @version 2.2.0
16+
* @version 2.2.1
1717
*/
1818
(function($, window) {
1919

@@ -427,6 +427,7 @@
427427
$.formUtils.haltValidation = true;
428428

429429
requestServer(serverURL, $el, val, conf, function() {
430+
430431
$form
431432
.removeClass('validating-server-side')
432433
.removeClass('on-blur')

form-validator/sweden.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* @website http://formvalidator.net/#swedish-validators
1515
* @license Dual licensed under the MIT or GPL Version 2 licenses
16-
* @version 2.2.0
16+
* @version 2.2.1
1717
*/
1818
(function($, window) {
1919

form-validator/uk.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @website http://formvalidator.net/#uk-validators
1111
* @license Dual licensed under the MIT or GPL Version 2 licenses
12-
* @version 2.2.0
12+
* @version 2.2.1
1313
*/
1414
$.formUtils.addValidator({
1515
name : 'ukvatnumber',

formvalidator.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"validation",
88
"validator"
99
],
10-
"version" : "2.2.0",
10+
"version" : "2.2.1",
1111
"author" : {
1212
"name": "Victor Jonsson",
1313
"url": "http://victorjonsson.se",

0 commit comments

Comments
 (0)