From c70719c59c410e5378c04926c66461d7b9f72884 Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 19 Mar 2024 18:47:09 +0100 Subject: [PATCH] [BUG] Fix manual merge button - Backport of #2696 - Add `form-fetch-action` to indicate that this form POST to an link that returns JSON and thus should be handled by Javascript code. - Found by @fnetx - Regression of https://codeberg.org/forgejo/forgejo/pulls/1793 (cherry picked from commit 9551c1a6f874213eb6ae96505cfbb50255d4cce2) --- templates/repo/issue/view_content/pull.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 409af3a5d5..5876790735 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -360,7 +360,7 @@ {{if and $.StillCanManualMerge (not $showGeneralMergeForm)}}
-
+ {{.CsrfTokenHtml}}