mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 04:57:43 +01:00
57f1ea0366
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. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>