diff options
author | CaiCandong <50507092+CaiCandong@users.noreply.github.com> | 2023-08-11 04:04:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 20:04:08 +0000 |
commit | 7a69d71733b5a01b6bb9a9b32c4e13afa5fe6c96 (patch) | |
tree | 539f9e5e7caac52038ee35296b47421a706302cc /templates/repo/issue | |
parent | 918d0f033d93043b4b107408da8ff612d39e6868 (diff) | |
download | gitea-7a69d71733b5a01b6bb9a9b32c4e13afa5fe6c96.tar.gz gitea-7a69d71733b5a01b6bb9a9b32c4e13afa5fe6c96.zip |
Fix incorrect redirection in new issue using references (#26440)
fix #26427
related https://github.com/go-gitea/gitea/pull/25258
---
Before:
![gitea](https://github.com/go-gitea/gitea/assets/50507092/ed8d3a17-1f63-42f2-a698-3b684e70dc91)
---
After:
![After](https://github.com/go-gitea/gitea/assets/50507092/b8e1338f-c520-4abc-b0df-b812c021ac7e)
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view_content/reference_issue_dialog.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/reference_issue_dialog.tmpl b/templates/repo/issue/view_content/reference_issue_dialog.tmpl index 1bb6366ea4..861e7b97a4 100644 --- a/templates/repo/issue/view_content/reference_issue_dialog.tmpl +++ b/templates/repo/issue/view_content/reference_issue_dialog.tmpl @@ -3,7 +3,7 @@ {{.locale.Tr "repo.issues.context.reference_issue"}} </div> <div class="content" style="text-align:left"> - <form class="ui form" action="{{printf "%s/issues/new" .Repository.Link}}" method="post"> + <form class="ui form form-fetch-action" action="{{printf "%s/issues/new" .Repository.Link}}" method="post"> {{.CsrfTokenHtml}} <div class="ui segment content"> <div class="field"> |