[TASK] Remove loading of FileListLocalisation in FormEngine 12/60112/2
authorSusanne Moog <susanne.moog@typo3.com>
Mon, 11 Mar 2019 12:59:48 +0000 (13:59 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 13 Mar 2019 17:20:25 +0000 (18:20 +0100)
The FileListLocalisation requirejs module has been removed from
FormResultCompiler. The module is used for displaying translation
toggles in the file list module (and only there).

Related: #87878
Resolves: #87880
Releases: master
Change-Id: Ifd94d1d9b594a1b6962760f45fbb4645b2383f78
Reviewed-on: https://review.typo3.org/c/60112
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Form/FormResultCompiler.php

index dc473dc..21dccd4 100644 (file)
@@ -258,8 +258,6 @@ class FormResultCompiler
         $dateFormat = ($GLOBALS['TYPO3_CONF_VARS']['SYS']['USdateFormat'] ? ['MM-DD-YYYY', 'HH:mm MM-DD-YYYY'] : ['DD-MM-YYYY', 'HH:mm DD-MM-YYYY']);
         $pageRenderer->addInlineSetting('DateTimePicker', 'DateFormat', $dateFormat);
 
-        $pageRenderer->loadRequireJsModule('TYPO3/CMS/Filelist/FileListLocalisation');
-
         $pageRenderer->addInlineLanguageLabelFile('EXT:core/Resources/Private/Language/locallang_core.xlf', 'file_upload');
         if (!empty($this->additionalInlineLanguageLabelFiles)) {
             foreach ($this->additionalInlineLanguageLabelFiles as $additionalInlineLanguageLabelFile) {