From f3f92cd5c2b035a869b8d5b59d56bc9c7f33832c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nitzsche?= Date: Tue, 21 Nov 2023 18:51:30 +0100 Subject: [PATCH] #340 fix submit button --- Classes/Backend/Form/ToolBox.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classes/Backend/Form/ToolBox.php b/Classes/Backend/Form/ToolBox.php index 319c7962..fa9fb4b4 100644 --- a/Classes/Backend/Form/ToolBox.php +++ b/Classes/Backend/Form/ToolBox.php @@ -712,6 +712,8 @@ public function createSubmit($name, $value, $confirmMsg = '', $options = []) $attributesString = T3General::implodeAttributes($attributes, true); + // Der Name des Submit-Buttons liegt nicht mehr im POST. Deshalb ein extra hidden field. + $hidden = sprintf('', $name); if ($icon) { $btn = ''; @@ -719,7 +721,7 @@ public function createSubmit($name, $value, $confirmMsg = '', $options = []) $btn = ''; } - return $btn; + return $btn.$hidden; } /**