[TYPO3-core] RFC #14343 - Flash message when install tool enable file has been deleted/created

Steffen Kamper info at sk-typo3.de
Tue May 25 13:42:38 CEST 2010


Hi,

Jigal van Hemert schrieb:
> 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?
> 

js only can be the solution here. We don't have a default action - or 
should default be the save?
In JS, add a key listener and proceed when enter was pressed.

vg Steffen


More information about the TYPO3-team-core mailing list