Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loading button with invalid form (#20754) #20759

Merged
merged 2 commits into from
Aug 11, 2022

Commits on Aug 11, 2022

  1. Fix loading button with invalid form (go-gitea#20754)

    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 <[email protected]>
    silverwind and lunny committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    3995217 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc231b0 View commit details
    Browse the repository at this point in the history