[TYPO3-core] FYI: Fixed bug #15121: htmlArea RTE: Javascript Error in IE7 prevent Link dialogue from opening

Stanislas Rolland typo3 at sjbr.ca
Tue Jul 27 23:13:02 CEST 2010


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
A JS error occurs when selecting an existing link in the RTE and trying 
to open the link update dialogue.

The error may be raised when a feature or an extension (such as DAM) 
adds some custom attributes on the link. The script then uses DOM method 
hasAttribute() which exists only in IE8...

Solution:
Test for the availability of the method. If not, test if getAttribute 
returns a non-null value.

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

Branches:
trunk (revision 8290)
TYPO3_4-4 (revision 8291)
TYPO3_4-3 (revision 8292)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_15121_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100727/1fa214ba/attachment.txt>


More information about the TYPO3-team-core mailing list