[TYPO3-core] RFC #14343 - Flash message when install tool enable file has been deleted/created
Jigal van Hemert
jigal at xs4all.nl
Tue May 25 13:23:35 CEST 2010
Steffen Gebert wrote:
> This patch introduces
> #14460: Enter in user settings creates Install Tool Enable file
I briefly looked into this issue, but it was introduced earlier when the
Delete/Create-Install-Tool-lock-file-button was added.
When using "Enter" some browsers will act as if the first submit button
in the form was used, others may just send the form fields without any
submit button being 'successful'.
The script which handles the form only performs actions for each of the
submit buttons. So when no button was sent along with the form the
script will do nothing and just reload the form.
All in all there are two problems in the form when you press "Enter":
- when the browser sends no submit button the form will simply reload
- when the browser sends the first submit button the form will
delete/create the Install-Tool-lock file
Maybe a Prototype enter key handler together with an extra form field to
indicate that "enter" was pressed could be a solution?
--
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-team-core
mailing list