mirror of
https://github.com/go-gitea/gitea
synced 2025-02-02 18:07:45 +01:00
d19c2c9fcb
Previously, if a invalid form was submitted (for example issue with no title), the form could not be re-submitted again because the button would not stay stuck in loading state. Fix that by hooking the 'submit' event instead which triggers only when the form is valid.