[TYPO3-core] FYI: Fixed bug #15858: htlmArea RTE: Stylesheet access error in Google Chrome 7

Stanislas Rolland typo3 at sjbr.ca
Wed Sep 29 22:16:58 CEST 2010


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
Using Google Chrome 7.0.517.24 dev, when the RTE first tries to access 
the stylesheets, Google Chrome reports "TypeError: Cannot read property 
'cssRules' of undefined". Subsequent attempts give the same error again. 
Apparently, the stylesheets array gets broken by the first attempt.

The error appears only in BE, not in FE, perhaps due to different timing.

Solution:
Check for existence of stylesheets array first.

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

Branches:
trunk (revision 8931)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_15858_typo3_4-3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100929/e12dceb5/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_15858_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100929/e12dceb5/attachment.txt>


More information about the TYPO3-team-core mailing list