[BUGFIX] Wrong check for showing folder clickmenu 92/30792/2
authorFrans Saris <franssaris@gmail.com>
Mon, 16 Jun 2014 19:39:04 +0000 (21:39 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 17 Jun 2014 23:43:18 +0000 (01:43 +0200)
This patch fixes a wrong check that prevents the clickmenu
from showing for folders in the filelist.

Resolves: #59568
Releases: 6.3, 6.2
Change-Id: Ic1e8bb28f64717631c4b57bc44221bd1132b876e
Reviewed-on: https://review.typo3.org/30792
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/filelist/Classes/FileList.php

index bfd10bb..924295f 100644 (file)
@@ -466,7 +466,7 @@ class FileList extends \TYPO3\CMS\Backend\RecordList\AbstractRecordList {
 
                                // The icon with link
                                $theIcon = IconUtility::getSpriteIconForResource($folderObject, array('title' => $folderName));
-                               if (!$isLocked && !$this->clickMenus) {
+                               if (!$isLocked && $this->clickMenus) {
                                        $theIcon = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($theIcon, $folderObject->getCombinedIdentifier());
                                }