diff options
author | Giteabot <teabot@gitea.io> | 2023-10-23 21:04:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 13:04:53 +0000 |
commit | f2bac791dba1deed9acdf069a4ef733fff2060e6 (patch) | |
tree | 4d58f7816cd8762b8f8971ae5b70d31b5903dcf9 /routers | |
parent | c279f8aab7e4a522bdaf9662b6e077e2da057783 (diff) | |
download | gitea-f2bac791dba1deed9acdf069a4ef733fff2060e6.tar.gz gitea-f2bac791dba1deed9acdf069a4ef733fff2060e6.zip |
Fix duplicate project board when hitting `enter` key (#27746) (#27751)
Backport #27746 by @lng2020
When hitting the `enter` key to create a new project column, the request
is sent twice because the `submit` event and `key up` event are both
triggered.
Probably a better solution is to rewrite these parts of the code to
avoid using native jQuery but reuse the `form-fetch-action` class. But
it's beyond my ability.
Co-authored-by: Nanguan Lin <70063547+lng2020@users.noreply.github.com>
Diffstat (limited to 'routers')
0 files changed, 0 insertions, 0 deletions