[BUGFIX] Use correct icon for mounting as tree root in context menu 03/49703/5
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 1 Sep 2016 07:55:54 +0000 (09:55 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 1 Sep 2016 09:00:47 +0000 (11:00 +0200)
The monochromatic icon is used instead of a red page type icon.

Resolves: #77733
Releases: master, 7.6
Change-Id: Iab959a5a3a9f5ac6f005de9ea23eef165cf4c45b
Reviewed-on: https://review.typo3.org/49703
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php

index 450b438..f611119 100644 (file)
@@ -874,7 +874,7 @@ class ClickMenu
     {
         return $this->linkItem(
             $this->label('tempMountPoint'),
-            $this->iconFactory->getIcon('apps-pagetree-page-mountpoint', Icon::SIZE_SMALL)->render(),
+            $this->iconFactory->getIcon('actions-pagetree-mountroot', Icon::SIZE_SMALL)->render(),
             'if (top.content.nav_frame) {
                                var node = top.TYPO3.Backend.NavigationContainer.PageTree.getSelected();
                                if (node === null) {