You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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>
2 years ago
..
components Update JS dependencies and eslint config (#21388) 2 years ago
features Fix UI language switching bug (#21597) (#21749) 2 years ago
markup Fix opaque background on mermaid diagrams (#21642) (#21652) 2 years ago
modules Improve commit status icons (#21124) 3 years ago
standalone Add new JS linter rules (#17699) 3 years ago
test Switch from jest to vitest (#21444) 2 years ago
bootstrap.js Quick fixes monaco-editor error: "vs.editor.nullLanguage" (#21734) (#21738) 2 years ago
index.js Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 5 years ago
svg.js Refactor from Vue2 to Vue3 (#20044) 3 years ago
svg.test.js Remove vitest globals (#21505) 2 years ago
utils.js Use weighted algorithm for string matching when finding files in repo (#21370) 2 years ago
utils.test.js Remove vitest globals (#21505) 2 years ago