From eaeb7021d5c34a9d198b1d667ec4a23428911ae0 Mon Sep 17 00:00:00 2001 From: d11n Date: Fri, 22 Sep 2023 08:03:57 +0200 Subject: [PATCH] Fix POST redirect form submit (#5336) The `submit()` method cannot be invoked on forms without a submit button. This changes it to call the method via the JS prototype, which can be seen as a workaround. Checked this in Firefox and Chrome. Fixes #5335. --- BTCPayServer/Views/Shared/PostRedirect.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Views/Shared/PostRedirect.cshtml b/BTCPayServer/Views/Shared/PostRedirect.cshtml index 3f4606f02..4f86f895e 100644 --- a/BTCPayServer/Views/Shared/PostRedirect.cshtml +++ b/BTCPayServer/Views/Shared/PostRedirect.cshtml @@ -65,7 +65,7 @@ }