From 9551c1a6f874213eb6ae96505cfbb50255d4cce2 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 - 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 --- 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 c8e803843..23257b5a6 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -375,7 +375,7 @@ {{if and $.StillCanManualMerge (not $showGeneralMergeForm)}}
-
+ {{.CsrfTokenHtml}}