#83747"Select & upload files" does not work for FAL in flexform
Description
When using a FAL/inline configuration inside of flexform, the “Select & upload files” button has no functionality.
2018-02-01_0935.png
Also the console throws errors:
> Uncaught Error: Syntax error, unrecognized expression: #data-1-tt_content-NEW5a72d63c613d4814805180-pi_flexform—-data—-sheet$1tabGeneral—-lDEF—-settings$1test—-vDEF
It seems, that the $1 are the problem, which just occure in 8.7.
In 7.6 those values are splitted by dots. e.g. “sheet.tabGeneral”
—-
I guess this change broke it:
File: typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
Before:
data-dropzone-target="#' . htmlspecialchars($this->inlineStackProcessor->getCurrentStructureDomObjectIdPrefix($this->data['inlineFirstPid'])) . '"
After:
data-dropzone-target="#' . htmlspecialchars(StringUtility::escapeCssSelector($currentStructureDomObjectIdPrefix)) . '"
—-