[TASK] RTE: Remove ExtJS QuickTips from status bar 43/35543/2
authorStanislas Rolland <typo3@sjbr.ca>
Wed, 17 Dec 2014 14:51:41 +0000 (09:51 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Wed, 17 Dec 2014 14:53:13 +0000 (15:53 +0100)
This completes the migration of the RTE status bar to plain JavaScript.

Releases: master
Resolves: #63957
Change-Id: I7b0a2e08d57c21e6a8c4325ec5fb456d15bc4371
Reviewed-on: http://review.typo3.org/35543
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/StatusBar.js

index 6d11634..0707c44 100644 (file)
@@ -184,8 +184,9 @@ define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/StatusBar',
                                        }
                                        var element = document.createElement('a');
                                        element.href = '#';
-                                       element.setAttribute('ext:qtitle', HTMLArea.localize('statusBarStyle'));
-                                       element.setAttribute('ext:qtip', ancestor.style.cssText.split(';').join('<br />'));
+                                       if (ancestor.style.cssText) {
+                                               element.setAttribute('title', HTMLArea.localize('statusBarStyle') + ':\x0D ' + ancestor.style.cssText.split(';').join('\x0D'));
+                                       }
                                        element.innerHTML = text;
                                        element = path.parentNode.insertBefore(element, path.nextSibling);
                                        element.ancestor = ancestor;