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.