Skip to content

Commit

Permalink
renamed backend to server, tried to reduce size of jquery.form-valida…
Browse files Browse the repository at this point in the history
…tor.min.js
  • Loading branch information
victorjonsson committed Jul 22, 2013
1 parent 1b12915 commit 88086c1
Show file tree
Hide file tree
Showing 11 changed files with 137 additions and 119 deletions.
2 changes: 1 addition & 1 deletion form-validator/date.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @website http://formvalidator.net/#location-validators
* @license Dual licensed under the MIT or GPL Version 2 licenses
* @version 2.0.7
* @version 2.0.9
*/
(function($) {

Expand Down
7 changes: 5 additions & 2 deletions form-validator/file.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @website http://formvalidator.net/
* @license Dual licensed under the MIT or GPL Version 2 licenses
* @version 2.0.7
* @version 2.0.9
*/
(function($, window) {

Expand Down Expand Up @@ -128,7 +128,10 @@
*/
$.formUtils.on('load', function() {
$('input[type="file"]').filter('*[data-validation]').bind('change', function() {
$(this).parent().find('.form-error').remove();
$(this)
.removeClass('error')
.parent()
.find('.form-error').remove();
});
});

Expand Down
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.

Loading

0 comments on commit 88086c1

Please sign in to comment.