Commit 168741ef authored by bbaer's avatar bbaer
Browse files

fixes #8886. error checking after focus lost

parent 5dd9b7a5
Pipeline #2799 passed with stages
in 2 minutes and 42 seconds
......@@ -49,7 +49,7 @@
this.update()
this.$element.on('input.bs.validator change.bs.validator focusout.bs.validator', $.proxy(this.onInput, this))
this.$element.on('focusout.bs.validator', $.proxy(this.onInput, this))
this.$element.on('submit.bs.validator', $.proxy(this.onSubmit, this))
this.$element.on('reset.bs.validator', $.proxy(this.reset, this))
......@@ -57,7 +57,7 @@
var $this = $(this)
var target = $this.attr('data-match')
$(target).on('input.bs.validator', function (e) {
$(target).on('focusout.bs.validator', function (e) {
getValue($this) && $this.trigger('input.bs.validator')
})
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment