forgejo/web_src
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
..
fomantic Various CSS tweaks (#21244) 2022-09-22 22:00:29 -05:00
js Fix UI language switching bug (#21597) (#21749) 2022-11-10 10:14:32 +08:00
less Fix opaque background on mermaid diagrams (#21642) (#21652) 2022-11-01 22:31:17 +00:00
svg Add support for Vagrant packages (#20930) 2022-08-29 15:04:45 +08:00