]> source.dussan.org Git - gitea.git/commit
Remove jQuery AJAX from common global functions (#29528)
authorYarden Shoham <git@yardenshoham.com>
Sat, 2 Mar 2024 08:48:14 +0000 (10:48 +0200)
committerGitHub <noreply@github.com>
Sat, 2 Mar 2024 08:48:14 +0000 (16:48 +0800)
commit8a0a83a1b53f55bcc710c3b229cba1c1bcf471c6
tree16a523fe152be5c33806d447c742df7d64050c8a
parent9de5e39e25009bacc5ca201ed97e9cbb623e56e9
Remove jQuery AJAX from common global functions (#29528)

- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the locale change functionality and it works as before
- Tested the delete button functionality and it works as before

# Demo using `fetch` instead of jQuery AJAX

![action](https://github.com/go-gitea/gitea/assets/20454870/8a024f75-c2a5-4bff-898d-ca751d2489f1)

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
web_src/js/features/common-global.js