Bug #14111
closedExtension Repository
0%
Description
When hitting enter in the 'Look up' field (after typing in the extension key) the page just reloads
Go the the Extension Repository
Type in css_styled_content in the 'Look up' field
Hit enter instead of the 'Connect to the online repository' button
(issue imported from #M17)
Files
Updated by Mathias Schreiber over 20 years ago
The Bug should be fixed with providing a JS that sets the correct focus on the page.
Updated by Hans J about 20 years ago
file typo3/mod/tools/em/index.php: (in latest 3.7. cvs)
there was no destination in the form given (action="").
I have inserted a new form and edited the javascript a bit from line 825 on. (line 824 can be deleted as it is not used anaymore - I forgot this in the patch) I have attached a diff.
Those are the new lines:
$content.= '<br /></form>
<form action="index.php" method="get" name="ter_form" onSubmit="document.ter_form[\'ter_search\'].valu
e=escape(document.ter_form[\'_lookUp\'].value);document.ter_form[\'ter_connect\'].value=1;">
<input type="hidden" name="ter_search" value="" />
<input type="hidden" name="ter_connect" value="" />
Look up: <input type="text" name="_lookUp" value="" />
<input type="submit" value="Connect to online repository" />';
Updated by Stephane Schitter almost 20 years ago
Reminder sent to stucki
It seems to be this bug is resolved (tested on current CVS version)
Updated by Michael Stucki almost 20 years ago
I don't know why it's now working but it's still not fixed in the clean way. I will keep this opened and add the patch of case2020 later...
Updated by Karsten Dambekalns over 19 years ago
I just tested this with 3.8.0-dev and Firefox, pressing enter doesn't work, whereas clicking the submit button does work.
Updated by Michael Stucki over 19 years ago
Thanks Karsten, so this is still open...
Did anybody test if the patch by case2020 works?
BTW @case2020: Please always attach unified format patches - they are much more useable for us...
Updated by Lars Houmark over 19 years ago
In version 3.8.0 final hitting ENTER works in mozilla firefox 1.0.4, but still not in IE 6.0 (and probably below).