[BUGFIX] Fix missing tooltips in insert special character window 91/50891/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 7 Dec 2016 09:29:43 +0000 (10:29 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 7 Dec 2016 11:42:37 +0000 (12:42 +0100)
The extjs popups don't work anymore. Use native title instead.

Resolves: #78903
Releases: 7.6
Change-Id: Ia361c45264346634f9605df144aacf174774311e
Reviewed-on: https://review.typo3.org/50891
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CharacterMap.js

index e4dfab5..31e516f 100644 (file)
@@ -428,7 +428,7 @@ define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin',
                                        title: this.localize(id),
                                        itemId: id,
                                        tpl: new Ext.XTemplate(
-                                               '<tpl for="."><a href="#" class="character" hidefocus="on" ext:qtitle="<span>&</span>{1};" ext:qtip="{2}">{0}</a></tpl>'
+                                               '<tpl for="."><a href="#" class="character" hidefocus="on" title="{2} ({1})">{0}</a></tpl>'
                                        ),
                                        listeners: {
                                                render: {
@@ -492,14 +492,14 @@ define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin',
 
                /**
                 * Remove listeners before closing the window
-                */             
+                */
                removeListeners: function () {
                        var components = this.dialog.findByType('box');
                        for (var i = components.length; --i > 0;) {
                                if (components[i].el) {
                                        Event.off(components[i].el.dom);
                                }
-                       }                       
+                       }
                }
        });