[TYPO3-core] RFC: #8724: getElementsByClassName does not work properly in Firefox 3 and Safari 3.1

Oliver Hader oliver at typo3.org
Sun Jun 22 16:05:09 CEST 2008


FYI: The attached changes were committed to SVN:
* TYPO3_4-1 (rev. 3833)
* TYPO3_4-2 (rev. 3834)
* Trunk (rev. 3835)

olly


Helmut Hummel schrieb:
> 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
-- 
Oliver Hader
TYPO3 4.3 Release Manager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008724_4-1.patch
Type: text/x-patch
Size: 1195 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080622/e4081ffe/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008724_4-2.patch
Type: text/x-patch
Size: 1624 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080622/e4081ffe/attachment-0001.bin 


More information about the TYPO3-team-core mailing list