mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-24 18:38:46 +03:00

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.