[BUGFIX] htmlArea RTE: Firefox may report error when setting a color
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Feb 2012 00:36:20 +0000 (19:36 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Feb 2012 00:36:51 +0000 (01:36 +0100)
commit46676607b44c43d429a2fe991a2c07f5c08107ec
treea3a5d3554e0f55650c899bb8dd654f534959ad9a
parent36d61823deb8f07c6120872aadeeeb2bce802385
[BUGFIX] htmlArea RTE: Firefox may report error when setting a color

Problem: The color does get assigned, but Firefox reports a JS error.
Solution: The RTE may incorrectly detach the selection range.

Change-Id: Ief034d8d97894c44160487f353523bf83f688c7c
Resolves: #33644
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/8817
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js