forgejo/web_src/js/features
Giteabot ffab076b72
Use "is-loading" to avoid duplicate form submit for code comment (#28143) (#28147)
Backport #28143 by @wxiaoguang

Compare by ignoring spaces:
https://github.com/go-gitea/gitea/pull/28143/files?diff=split&w=1

When the form is going to be submitted, add the "is-loading" class to
show an indicator and avoid user UI events.

When the request finishes (success / error), remove the "is-loading"
class to make user can interact the UI.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-11-21 12:02:58 +08:00
..
admin
comp
captcha.js
citation.js
clipboard.js Clipboard copy enhancements (#27669) (#27681) 2023-10-19 00:23:28 +08:00
codeeditor.js
colorpicker.js
common-global.js Show error toast when file size exceeds the limits (#27985) (#27986) 2023-11-10 11:52:04 +00:00
common-issue-list.js
common-issue-list.test.js
common-organization.js
contextpopup.js
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js
install.js
notification.js
org-team.js
pull-view-file.js
repo-branch.js
repo-code.js
repo-code.test.js
repo-commit.js
repo-common.js
repo-diff-commit.js
repo-diff-commitselect.js
repo-diff-filetree.js
repo-diff.js Use "is-loading" to avoid duplicate form submit for code comment (#28143) (#28147) 2023-11-21 12:02:58 +08:00
repo-editor.js
repo-findfile.js
repo-findfile.test.js
repo-graph.js
repo-home.js
repo-issue-content.js
repo-issue-list.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) (#27661) 2023-10-17 14:46:35 +00:00
repo-issue-pr-form.js
repo-issue.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) (#27661) 2023-10-17 14:46:35 +00:00
repo-legacy.js
repo-migrate.js
repo-migration.js
repo-projects.js Fix duplicate project board when hitting enter key (#27746) (#27751) 2023-10-23 13:04:53 +00:00
repo-release.js
repo-settings.js
repo-template.js
repo-unicode-escape.js
repo-wiki.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js
user-settings.js