提交 f141cdb3 编写于 作者: B Bryce Johnson

Fixup invalid refs.

上级 bad1feb2
......@@ -297,7 +297,7 @@
Dispatcher.prototype.initFieldErrors = function() {
var flaggedForms = document.querySelectorAll('.show-gl-field-errors');
return [...taggedForms].forEach(function(form) {
return [...flaggedForms].forEach(function(form) {
new gl.GlFieldErrors(form);
});
};
......
......@@ -78,7 +78,7 @@
this.form.focusOnFirstInvalid.apply(this.form);
// For UX, wait til after first invalid submission to check each keyup
this.inputElement.off('keyup.field_validator')
.on('keyup.field_validator', this.updateValidityState.bind(this));
.on('keyup.field_validator', this.updateValidity.bind(this));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册