[BUGFIX] Fix hide and delete button in SysAction->RecordList 30/53730/2
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 18 Aug 2017 11:50:05 +0000 (13:50 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 18 Aug 2017 13:10:28 +0000 (15:10 +0200)
The AjaxDataHandler JavaScript must be loaded to add the on
click handlers.

Resolves: #81685
Releases: master,8.7
Change-Id: If3616ee99a73171be3a878abce40de7e5c0e8225
Reviewed-on: https://review.typo3.org/53730
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/sys_action/Classes/ActionTask.php

index 2a88dca..c55f7bb 100644 (file)
@@ -968,6 +968,7 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface
             );
             // Setting up the context sensitive menu:
             $this->taskObject->getModuleTemplate()->getPageRenderer()->loadRequireJsModule('TYPO3/CMS/Backend/ContextMenu');
+            $this->taskObject->getModuleTemplate()->getPageRenderer()->loadRequireJsModule('TYPO3/CMS/Backend/AjaxDataHandler');
             // Begin to compile the whole page
             $content .= '<form action="' . htmlspecialchars($dblist->listURL()) . '" method="post" name="dblistForm">' . $dblist->HTMLcode . '<input type="hidden" name="cmd_table" /><input type="hidden" name="cmd" />
                                                </form>';