Bug Report
In frontend/registration.html, inside the form's submit event listener,
a function resetFormFields() is defined but never called anywhere.
Dead code location:
Bottom of the submit event handler (~line 230)
Impact:
dismissError() and fullResetForm() manually duplicate
the same reset logic instead of reusing this function
- If the reset logic ever changes, it must be updated in
3 separate places — easy to miss, causes inconsistency
Fix:
Either call resetFormFields() where appropriate, or
remove it and consolidate reset logic into one shared function.
Hey @codepvg , i would like to work on this issue under GSSOC.Please assign this to me
Bug Report
In
frontend/registration.html, inside the form'ssubmitevent listener,a function
resetFormFields()is defined but never called anywhere.Dead code location:
Bottom of the
submitevent handler (~line 230)Impact:
dismissError()andfullResetForm()manually duplicatethe same reset logic instead of reusing this function
3 separate places — easy to miss, causes inconsistency
Fix:
Either call
resetFormFields()where appropriate, orremove it and consolidate reset logic into one shared function.
Hey @codepvg , i would like to work on this issue under GSSOC.Please assign this to me