[FOLLOWUP][TASK] Replace sprite icon "apps-toolbar-menu-opendocs" with the new IconFa... 09/43209/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 11 Sep 2015 15:14:33 +0000 (17:14 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 11 Sep 2015 15:17:08 +0000 (17:17 +0200)
The replaced markup broke the spinner icon. Adjust the selectors to
fix it.

Resolves: #69683
Releases: master
Change-Id: I5d23ced2c43d762805b9ee253e850f639819224a
Reviewed-on: http://review.typo3.org/43209
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js

index af90716..3e908d0 100644 (file)
@@ -20,7 +20,7 @@ define('TYPO3/CMS/Opendocs/Toolbar/OpendocsMenu', ['jquery'], function($) {
 
        var OpendocsMenu = {
                $spinnerElement: $('<span>', {
-                       'class': 't3-icon fa fa-circle-o-notch spinner fa-spin'
+                       'class': 'fa fa-circle-o-notch fa-spin'
                }),
                options: {
                        containerSelector: '#typo3-cms-opendocs-backend-toolbaritems-opendocstoolbaritem',
@@ -28,7 +28,7 @@ define('TYPO3/CMS/Opendocs/Toolbar/OpendocsMenu', ['jquery'], function($) {
                        closeSelector: '.dropdown-list-link-close',
                        menuContainerSelector: '.dropdown-menu',
                        menuItemSelector: '.dropdown-menu li a',
-                       toolbarIconSelector: '.dropdown-toggle span.t3-icon',
+                       toolbarIconSelector: '.dropdown-toggle i.fa',
                        openDocumentsItemsSelector: 'li.opendoc',
                        counterSelector: '#tx-opendocs-counter'
                }