[BUGFIX] Exchange open icon based on context in Web->List 37/44437/2
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Sat, 31 Oct 2015 14:48:06 +0000 (15:48 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 31 Oct 2015 15:25:41 +0000 (16:25 +0100)
Resolves: #71199
Releases: master
Change-Id: If9d60cff8e7f80e91757925dfa6452835b6b2ed0
Reviewed-on: https://review.typo3.org/44437
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index 672dbdc..c44c96e 100644 (file)
@@ -1405,7 +1405,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
         // "Edit" link: ( Only if permissions to edit the page-record of the content of the parent page ($this->id)
         if ($permsEdit) {
             $params = '&edit[' . $table . '][' . $row['uid'] . ']=edit';
-            $iconIdentifier = 'actions-document-open';
+            $iconIdentifier = 'actions-open';
             $overlayIdentifier = !$this->isEditable($table) ? 'overlay-readonly' : null;
             $editAction = '<a class="btn btn-default" href="#" onclick="' . htmlspecialchars(BackendUtility::editOnClick($params, '', -1))
                 . '" title="' . $this->getLanguageService()->getLL('edit', true) . '">' . $this->iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL, $overlayIdentifier)->render() . '</a>';