BigW Consortium Gitlab

Commit f141cdb3 by Bryce Johnson

Fixup invalid refs.

parent bad1feb2
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
Dispatcher.prototype.initFieldErrors = function() { Dispatcher.prototype.initFieldErrors = function() {
var flaggedForms = document.querySelectorAll('.show-gl-field-errors'); var flaggedForms = document.querySelectorAll('.show-gl-field-errors');
return [...taggedForms].forEach(function(form) { return [...flaggedForms].forEach(function(form) {
new gl.GlFieldErrors(form); new gl.GlFieldErrors(form);
}); });
}; };
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
this.form.focusOnFirstInvalid.apply(this.form); this.form.focusOnFirstInvalid.apply(this.form);
// For UX, wait til after first invalid submission to check each keyup // For UX, wait til after first invalid submission to check each keyup
this.inputElement.off('keyup.field_validator') 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment