summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-11-21 12:02:58 +0800
committerGitHub <noreply@github.com>2023-11-21 12:02:58 +0800
commitffab076b72fb5822531f24f9e608f3b49bb2d324 (patch)
tree3bd9d2ef9e26b9d7a89b80a7b054c822c75209f1 /options
parent117d9a117fd124c008895bbabecdbfac1dfac653 (diff)
downloadgitea-ffab076b72fb5822531f24f9e608f3b49bb2d324.tar.gz
gitea-ffab076b72fb5822531f24f9e608f3b49bb2d324.zip
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>
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions