Skip to content

Commit

Permalink
version bump...
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjonsson committed Jul 4, 2017
1 parent bd97087 commit e9d2a9e
Show file tree
Hide file tree
Showing 36 changed files with 49 additions and 46 deletions.
2 changes: 1 addition & 1 deletion form-validator/brazil.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/date.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/file.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/html5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 12 additions & 9 deletions form-validator/jquery.form-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/** File generated by Grunt -- do not modify
* JQUERY-FORM-VALIDATOR
*
* @version 2.3.66
* @version 2.3.68
* @website http://formvalidator.net/
* @author Victor Jonsson, http://victorjonsson.se
* @license MIT
Expand All @@ -29,6 +29,7 @@
var disableFormSubmit = function () {
return false;
},
lastFormEvent = null,
HaltManager = {
numHalted: 0,
haltValidation: function($form) {
Expand Down Expand Up @@ -72,7 +73,8 @@
if (eventContext === 'keyup') {
return null;
} else if (this.isRunning) {
if (!this.haltedFormValidation && eventContext === 'submit') {
lastFormEvent = eventContext;
if (!this.haltedFormValidation) {
HaltManager.haltValidation();
this.haltedFormValidation = true;
}
Expand All @@ -81,10 +83,9 @@
//this.$input.one('keyup change paste', this.reset.bind(this));
return this.result;
} else {
if (eventContext === 'submit') {
HaltManager.haltValidation(this.$form);
this.haltedFormValidation = true;
}
lastFormEvent = eventContext;
HaltManager.haltValidation(this.$form);
this.haltedFormValidation = true;
this.isRunning = true;
this.$input
.attr('disabled', 'disabled')
Expand All @@ -109,9 +110,11 @@
this.$form.removeClass('async-validation');
if (this.haltedFormValidation) {
HaltManager.unHaltValidation(this.$form);
this.$form.trigger('submit');
} else {
this.$input.trigger('validation.revalidate');
if (lastFormEvent === 'submit') {
this.$form.trigger('submit');
} else {
this.$input.trigger('validation.revalidate');
}
}
};

Expand Down
4 changes: 2 additions & 2 deletions form-validator/jquery.form-validator.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion form-validator/jsconf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** File generated by Grunt -- do not modify
* JQUERY-FORM-VALIDATOR
*
* @version 2.3.66
* @version 2.3.68
* @website http://formvalidator.net/
* @author Victor Jonsson, http://victorjonsson.se
* @license MIT
Expand Down
2 changes: 1 addition & 1 deletion form-validator/lang/ca.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/cs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/da.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/de.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/fa.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/fr.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/it.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/ko.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/nl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/no.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/pl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/pt.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/ro.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/ru.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/sv.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/lang/vi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/location.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/logic.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/poland.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/sanitize.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions form-validator/security.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion form-validator/sepa.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/sweden.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/toggleDisabled.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion form-validator/uk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion formvalidator.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"validation",
"validator"
],
"version": "2.3.66",
"version": "2.3.68",
"author": {
"name": "Victor Jonsson",
"url": "http://victorjonsson.se",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery-form-validator",
"description": "With this feature rich jQuery plugin it becomes easy to validate user input while keeping your HTML markup clean from javascript code. Even though this plugin has a wide range of validation functions it's designed to require as little bandwidth as possible. This is achieved by grouping together validation functions in \"modules\", making it possible for the programmer to load only those functions that's needed to validate a particular form.",
"version": "2.3.66",
"version": "2.3.68",
"main": "./form-validator/jquery.form-validator.min.js",
"keywords": [
"form",
Expand Down
2 changes: 1 addition & 1 deletion src/main/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
this.$form.removeClass('async-validation');
if (this.haltedFormValidation) {
HaltManager.unHaltValidation(this.$form);
if (lastFormEvent == 'submit') {
if (lastFormEvent === 'submit') {
this.$form.trigger('submit');
} else {
this.$input.trigger('validation.revalidate');
Expand Down

0 comments on commit e9d2a9e

Please sign in to comment.