]> source.dussan.org Git - gitea.git/commit
Show error toast when file size exceeds the limits (#27985) (#27986)
authorGiteabot <teabot@gitea.io>
Fri, 10 Nov 2023 11:52:04 +0000 (19:52 +0800)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2023 11:52:04 +0000 (11:52 +0000)
commit60b51d0648533de1c7eef543004bf5bd5fb93c7c
tree4b9342a0006cbda2217607d725d18257e8d12d69
parent824d40edc6630bfb1a288760ef902adab33d7d9d
Show error toast when file size exceeds the limits (#27985) (#27986)

Backport #27985 by @lng2020

As title.
Before that, there was no alert at all.
After:

![error_toast](https://github.com/go-gitea/gitea/assets/70063547/c54ffeed-76f8-4c3a-b5dc-b9b3e0f8fc76)

Co-authored-by: Nanguan Lin <70063547+lng2020@users.noreply.github.com>
web_src/js/features/common-global.js