[BUGFIX] Editing a record in Element Browser throws JS error
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
6 'web_list',
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/'
8 );
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
10 'web',
11 'list',
12 '',
13 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/',
14 array(
15 'script' => '_DISPATCH',
16 'access' => 'user,group',
17 'name' => 'web_list',
18 'labels' => array(
19 'tabs_images' => array(
20 'tab' => '../Resources/Public/Icons/module-list.png',
21 ),
22 'll_ref' => 'LLL:EXT:lang/locallang_mod_web_list.xlf',
23 ),
24 )
25 );
26
27 // Register element browser wizard
28 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
29 'wizard_element_browser',
30 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ElementBrowserWizard/'
31 );
32 }