[TASK] Use correct history icon in EditDocumentController 90/49590/2
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 25 Aug 2016 05:26:18 +0000 (07:26 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 25 Aug 2016 10:21:19 +0000 (12:21 +0200)
Use the same icon in the edit form of a record as in the clickmenu
and in the list module.

Resolves: #77628
Releases: master, 7.6
Change-Id: I977d7064067bcca2a924e3aa676b893f1f5c8525
Reviewed-on: https://review.typo3.org/49590
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php

index 4b78ce1..24bf511 100644 (file)
@@ -1425,7 +1425,7 @@ class EditDocumentController extends AbstractModule
                             )
                         )
                         ->setIcon($this->moduleTemplate->getIconFactory()->getIcon(
-                            'actions-edit-undo',
+                            'actions-document-history-open',
                             Icon::SIZE_SMALL
                         ));
                     $buttonBar->addButton($undoButton, ButtonBar::BUTTON_POSITION_LEFT, 3);