[BUGFIX] BE User Settings cannot be saved by clicking enter
authorMario Rimann <mario.rimann@typo3.org>
Fri, 27 Jul 2012 21:40:29 +0000 (23:40 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 29 Jul 2012 16:04:43 +0000 (18:04 +0200)
After moving the save button to the top row of the form, hitting
enter within a text input field of the user's settings did not save
the entered data.

Change-Id: Ic71749026efdab482455be2ae47c5815057dce9f
Fixes: #39203
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/13216
Reviewed-by: Steffen Ritter
Reviewed-by: Oliver Klee
Tested-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/setup/mod/index.php

index ba0c0bf..9757bc4 100755 (executable)
@@ -406,6 +406,7 @@ class SC_mod_user_setup_index {
                $this->content .= $this->doc->section('',
                        '<input type="hidden" name="simUser" value="'.$this->simUser.'" />
                        <input type="hidden" name="formToken" value="' . $formToken . '" />
+                       <input type="hidden" value="1" name="data[save]" />
                        <input type="hidden" name="data[setValuesToDefault]" value="0" id="setValuesToDefault" />
                        <input type="hidden" name="data[clearSessionVars]" value="0" id="clearSessionVars" />'
                );