[BUGFIX] Colors not selectable in RTE table properties with IE 7/8
authorStanislas Rolland <typo3@sjbr.ca>
Sat, 6 Aug 2011 03:53:23 +0000 (23:53 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Sat, 6 Aug 2011 03:59:53 +0000 (05:59 +0200)
When having many colors defined, it is only possible to select one
of the first colors. If a color at the end of the list is selected,
nothing happens.

Solution: Fix missing closing span tag in ExtJs template object.

Change-Id: If196228a93125262906e787cb4efa174463cfd4c
Resolves: #28760
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4164
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js

index be949f1..f9b6901 100644 (file)
@@ -3874,7 +3874,7 @@ Ext.ux.menu.HTMLAreaColorMenu = Ext.extend(Ext.menu.Menu, {
                                        value: this.value,
                                        allowReselect: true,
                                        tpl: new Ext.XTemplate(
-                                               '<tpl for="."><a href="#" class="color-{1}" hidefocus="on"><em><span style="background:#{1}" unselectable="on">&#160;</span></em><span unselectable="on">{0}<span></a></tpl>'
+                                               '<tpl for="."><a href="#" class="color-{1}" hidefocus="on"><em><span style="background:#{1}" unselectable="on">&#160;</span></em><span unselectable="on">{0}</span></a></tpl>'
                                        )
                                }
                        });