]> source.dussan.org Git - gitea.git/commit
Make "link-action" backend code respond correct JSON content (#26680)
authorwxiaoguang <wxiaoguang@gmail.com>
Wed, 23 Aug 2023 09:36:57 +0000 (17:36 +0800)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2023 09:36:57 +0000 (17:36 +0800)
commite8b990999f89535269d20983079a40a0a9488eff
tree3a16640046072a51a9020e917457a801461860c2
parentaf33a1187b0ed7cf1ffbe8aabddf7ed0380f2cc9
Make "link-action" backend code respond correct JSON content (#26680)

Otherwise the `link-action` JS code couldn't parse the response.

Co-authored-by: Giteabot <teabot@gitea.io>
routers/web/admin/users.go
routers/web/org/setting.go
routers/web/repo/setting/avatar.go
routers/web/user/setting/profile.go
templates/admin/user/edit.tmpl
templates/org/settings/options.tmpl
templates/repo/settings/options.tmpl
templates/user/settings/profile.tmpl