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 Refactor system setting (#27000) (#27452) 2023-10-05 10:37:59 +00:00
comp
captcha.js
citation.js
clipboard.js Clipboard copy enhancements (#27669) (#27681) 2023-10-19 00:23:28 +08:00
codeeditor.js Fix EOL handling in web editor (#27141) (#27234) 2023-09-24 22:10:38 +00:00
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 Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
common-organization.js
contextpopup.js
copycontent.js
dropzone.js
emoji.js Update JS and PY dependencies (#27501) (#27518) 2023-10-08 19:31:33 +02:00
eventsource.sharedworker.js
file-fold.js
heatmap.js Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00
imagediff.js Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
install.js
notification.js
org-team.js Add status indicator on main home screen for each repo (#24638) 2023-05-13 21:59:01 +00:00
pull-view-file.js
repo-branch.js
repo-code.js
repo-code.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
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 Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
repo-graph.js
repo-home.js
repo-issue-content.js Improve issue history dialog and make poster can delete their own history (#27323) (#27327) 2023-09-28 09:46:46 +00:00
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 Use explicit jQuery import, remove unused eslint globals (#18435) 2022-01-28 21:00:11 +00:00
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js
user-settings.js