Commit 11c44c58 authored by Mario Rimann's avatar Mario Rimann Committed by Christian Kuhn
Browse files

[BUGFIX] BE User Settings cannot be saved by clicking enter

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-by: Steffen Ritter
Reviewed-by: Oliver Klee
Tested-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent 141f66f3
......@@ -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" />'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment