[TYPO3-core] RFC #16636: Bug: Suggest wizard does not work with drop-down select fields

François Suter fsu-lists at cobweb.ch
Mon Feb 7 09:53:37 CET 2011


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=16636

Branches:
4.4, 4.5 and trunk

Problem:
When the suggest wizard is used in conjunction with a size=1 select 
field (i.e. a simple drop-down field), selecting a suggested item does 
not modify the value of the select field.

Solution:
Adapt the relevant JavaScript so that it can work with a simple select 
field too.

Test scenario:
1) install the test extension attached to the bug tracker entry. This 
adds a "Owner" field to the pages table. It appears in the "Extended" 
tab and relates to the be_users table.
2) start typing some user name in the wizard, select one of the 
suggestions => nothing happens
3) apply the patch
4) try step 2 again, it should work.

Notes:
1) The v4.5 version of the patch also applies to trunk.
2) Of course, for trunk, it would be better to clean up the whole JS and 
finally move it to a separate file, but that would be a different RFC.

Cheers

-- 
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16636_v4-4.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110207/676ba97a/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16636_v4-5.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110207/676ba97a/attachment.txt>


More information about the TYPO3-team-core mailing list