Skip to content

Commit

Permalink
changed event
Browse files Browse the repository at this point in the history
  • Loading branch information
esteban-xrow committed Sep 6, 2016
1 parent 4ea529a commit cd1274c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions design/standard/javascript/xrowformgenerator_frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jQuery(document).ready(function($){
else {
if(input.hasAttribute('data-emptytext') && $.trim($(this).val()) == '')
input.setCustomValidity($(this).data('emptytext'));
$(this).keyup(function() {
$(this).change(function() {
checkFieldType(this);
});
}
Expand Down Expand Up @@ -77,4 +77,4 @@ function checkFieldType(formField) {
else
field.parent().addClass('xrow-form-error');
}
}
}

0 comments on commit cd1274c

Please sign in to comment.