]> source.dussan.org Git - gitea.git/commit
Remove jQuery AJAX from the issue branch reference selection (#29722)
authorYarden Shoham <git@yardenshoham.com>
Tue, 12 Mar 2024 04:29:51 +0000 (06:29 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2024 04:29:51 +0000 (04:29 +0000)
commit75a9f61f89caada64f6398130844281e4f088a73
treeadacab2c44de266fee4dc86170dff00fe0accb4b
parente84e5db6de0306d514b1f1a9657931fb7197a188
Remove jQuery AJAX from the issue branch reference selection (#29722)

- Replaced a single jQuery AJAX instance with our fetch wrapper
- Tested the issue branch reference selection and it works as before

# Demo using `fetch` instead of jQuery AJAX

![demo](https://github.com/go-gitea/gitea/assets/20454870/7e195632-41f8-494b-b599-f6291860f330)

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