[TYPO3-core] RFC: #8724: getElementsByClassName does not work properly in Firefox 3 and is deprecated in prototype.js
Helmut Hummel
typo3 at jhpc.de
Mon Jun 16 12:21:57 CEST 2008
Hi,
This is an SVN patch request.
Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=8724
Branches: TYPO3_4-2, trunk (probably 4_1)
The use of getElementsByClassName is deprecated within the prototype
framework an causes trouble with the native Firefox implementation (does
not work in FF3).
(lookup: http://ejohn.org/blog/getelementsbyclassname-pre-prototype-16/
for more information regading the problem)
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: 8724_getElementsByClassName.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080616/9d7fd89f/attachment.txt
More information about the TYPO3-team-core
mailing list