[TYPO3-core] RFC: #8720 "Toggle selection" and "Import Selection" in element browser not working in FF3

Helmut Hummel typo3 at jhpc.de
Sun Jun 15 16:17:47 CEST 2008


Hi,

This is an SVN patch request.

Type: Bugfix

Bugtracker reference: http://bugs.typo3.org/view.php?id=8720

Branches: TYPO3_4-2, trunk

The element browser has new features since 4.2 making it possible to 
select and import multiple elements by using checkboxes.

Unfortunately using the buttons "Import selection" and "Toggle selection 
do not work in FF3, as there is a known issue concerning this browser, 
the prototype library and the function getElementsByClassName().

(see: http://ejohn.org/blog/getelementsbyclassname-pre-prototype-16/)

Solution:
Replace Element.getElementsByClassName() call with it's prototype 
pendant Elment.select() as proposed in the document above.

Remark:
I tested the patch in FF3, FF2, IE6 and Safari 3.1.1 (on Mac).

Kind regards
Helmut

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_8720.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080615/010812ab/attachment.txt 


More information about the TYPO3-team-core mailing list