Issue Bug Closed

#76868Folder selector (flexform) javascript error: Tree is not defined

Markus Blaschke 06/29/16, 12:21 updated 10/02/18, 11:09

Description

I’ve added a folder selector to flexform. If a user now click on the folder selector button the popup opens with the tree but the tree cannot be opened/closed because there is JavaScript error:
*Uncaught ReferenceError: Tree is not defined*

Flexform configuration:

<settings.folderFilter>
    <TCEforms>
        <label>Folders</label>
        <config>
            <type>group</type>
            <internal_type>folder</internal_type>
            <maxitems>9999</maxitems>
            <size>10</size>
        </config>
    </TCEforms>
</settings.folderFilter>

If I change the internal_type to file it’s working but we want folders instead of files.

Reviews 2