[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:23:42 +0000 (02:23 +0100)
commit28d52eacab6f1c1c3fcab1dbdfbddedf0dbbdc0a
tree6c640a40b42c3439385223102dd9b9c46a18e053
parent844be40505b0d4a5ae105fd9d1818507fb8b4769
[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: Ic457aa38bb01909ced8c55906108a37b974c3fb5
Resolves: #33644
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/8818
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js