[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 01:42:01 +0000 (02:42 +0100)
commit61600103cf4d94d20b1bbec669029cd3226da2eb
treed91ea8986a5ec2e5984a97d48c72342e39342812
parent96cae2bf985deb464d801f0e5861205d6b8db205
[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: Ie1e637e6bca3ead221b6c7be2dca4f913897f591
Resolves: #33644
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/8819
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js