ElementBrowser broken with TCA type=group and internal_type=folder
The elementBrowser for browsing folder (TCA type group with internal_type folder) is broken.
Expand/Collapse a folder does not work and return a 500 error
The reason is that the ajaxID used by the FolderBrower is the wrong one: sc_alt_db_navframe_expandtoggle instead of sc_alt_file_navframe_expandtoggle
In order to fix that bug, the ajaxID needs to be redefined when loading the JS module just for the FolderBrower, see attached diff file.
Occurs on TYPO3 7.6.
It was working in TYPO3 6.2.
[BUGFIX] Fix folder element browser expand/collapse
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: DANIEL Rémy <email@example.com>
Tested-by: DANIEL Rémy <firstname.lastname@example.org>
Tested-by: Susanne Moog <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>