[BUGFIX] Make buttons after file search working again 81/44681/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 11 Nov 2015 10:03:15 +0000 (11:03 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 11 Nov 2015 10:52:24 +0000 (11:52 +0100)
JavaScript is not loaded anymore.
Re-add the loading of the correct JavaScript file.

Resolves: #71475
Releases: master
Change-Id: I5ec8e290413233e744276590df4d1504c8955eb0
Reviewed-on: https://review.typo3.org/44681
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/filelist/Classes/Controller/FileListController.php

index 83c6645..99c602f 100644 (file)
@@ -495,6 +495,9 @@ class FileListController extends ActionController
             }
         }
 
+        $pageRenderer = $this->view->getModuleTemplate()->getPageRenderer();
+        $pageRenderer->loadRequireJsModule('TYPO3/CMS/Filelist/FileList');
+
         $this->view->assign('searchWord', $searchWord);
         $this->view->assign('files', $fileFacades);
         $this->view->assign('settings', [