Commit 0f0ffa08 authored by Boris Schauer's avatar Boris Schauer
Browse files

[BUGFIX] Existing content was lost after the change of the image field.

parent ec273ff0
......@@ -129,11 +129,13 @@ return [
'defaultExtras' => 'richtext:rte_transform'
],
'images' => [
'exclude' => 0,
'l10n_mode' => 'prefixLangTitle',
'l10n_cat' => 'text',
'label' => 'Media',
'config' => $GLOBALS['TCA']['tt_content']['columns']['assets']['config'],
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('images', [
'appearance' => [
'createNewRelationLinkTitle' => 'Media'
],
'overrideChildTca' => $GLOBALS['TCA']['tt_content']['columns']['assets']['config']['overrideChildTca']
], $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'])
],
'link' => [
'exclude' => false,
......@@ -171,7 +173,7 @@ return [
['', '']
],
],
'onChange'=>'reload',
'onChange' => 'reload',
],
'typo3releaseminorversion' => [
'exclude' => false,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment