0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-29 10:54:02 -05:00
forgejo/web_src/js
Xinyu Zhou a2a42cd5de
Fix UI language switching bug (#21597) (#21749)
Backport #21597

Related:
* https://github.com/go-gitea/gitea/pull/21596#issuecomment-1291450224

There was a bug when switching language by AJAX: the irrelevant POST
requests were processed by the target page's handler.

Now, use GET instead of POST. The GET requests should be harmless.

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-11-10 10:14:32 +08:00
..
components Update JS dependencies and eslint config (#21388) 2022-10-10 20:02:20 +08:00
features Fix UI language switching bug (#21597) (#21749) 2022-11-10 10:14:32 +08:00
markup Fix opaque background on mermaid diagrams (#21642) (#21652) 2022-11-01 22:31:17 +00:00
modules Improve commit status icons (#21124) 2022-09-09 17:03:18 -04:00
standalone Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
test Switch from jest to vitest (#21444) 2022-10-14 21:36:16 +08:00
bootstrap.js Quick fixes monaco-editor error: "vs.editor.nullLanguage" (#21734) (#21738) 2022-11-09 21:19:44 +08:00
index.js Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
jquery.js
serviceworker.js
svg.js Refactor from Vue2 to Vue3 (#20044) 2022-10-01 22:26:38 +08:00
svg.test.js Remove vitest globals (#21505) 2022-10-19 14:50:19 +08:00
utils.js Use weighted algorithm for string matching when finding files in repo (#21370) 2022-10-08 12:22:44 +01:00
utils.test.js Remove vitest globals (#21505) 2022-10-19 14:50:19 +08:00