[BUGFIX] Prevent go back by submit on enter 11/54311/2
authorFrank Naegler <frank.naegler@typo3.org>
Wed, 4 Oct 2017 09:06:25 +0000 (11:06 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 6 Oct 2017 12:17:53 +0000 (14:17 +0200)
commit9082e0bd27471bee58c84de11bfbe8f767e21d82
treeda18e392173787ffd210cf5b1a02512a8b659d5d
parentfe6a917fc679e473efaae79b0488d6b3cbe99459
[BUGFIX] Prevent go back by submit on enter

The first button of type=submit is used by the browser if
the user hint <enter> in a form field. A form should only contains
one submit button, which is fixed now with this patch.

Resolves: #82668
Releases: master, 8.7
Change-Id: I43323dd89be67d18a2818faf11359151223458f1
Reviewed-on: https://review.typo3.org/54311
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/form/Resources/Private/Frontend/Partials/Form/Navigation.html