[BUGFIX] htmlArea RTE: localized acronym popup window misses window title
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 29 Jul 2011 18:43:50 +0000 (14:43 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 29 Jul 2011 18:46:01 +0000 (20:46 +0200)
Change-Id: Id5e6dcecdc21aacc0397db9edf91deb32ee0a98e
Resolves: #28575
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3892
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js

index 6537f31..eb5b4e7 100644 (file)
@@ -4392,9 +4392,9 @@ HTMLArea.Plugin = Ext.extend(HTMLArea.Plugin, {
        getHelpTip: function (fieldName, label, pluginName) {
                if (Ext.isDefined(TYPO3.ContextHelp)) {
                        var pluginName = Ext.isDefined(pluginName) ? pluginName : this.name;
-                       return '<span class="t3-help-link" href="#" data-table="xEXT_rtehtmlarea_' + pluginName + '" data-field="' + fieldName + '"><abbr class="t3-help-teaser">' + this.localize(label) + '</abbr></span>';
+                       return '<span class="t3-help-link" href="#" data-table="xEXT_rtehtmlarea_' + pluginName + '" data-field="' + fieldName + '"><abbr class="t3-help-teaser">' + (this.localize(label) || label) + '</abbr></span>';
                } else {
-                       return this.localize(label);
+                       return this.localize(label) || label;
                }
        },
        /**