Issue Bug Closed

#80508wizard_link does not invoke the change JS in FlexForm

Xavier Perseguers 03/28/17, 10:04 updated 11/25/17, 20:13

Description

EXT:file_list is using the wizard_link wizard as part of the plugin configuration (FlexForm):

<settings.path>
    <TCEforms>
        <label>LLL:EXT:file_list/Resources/Private/Language/locallang_flexform.xlf:filelist.path</label>
        <config>
            <type>input</type>
            <size>48</size>
            <eval>trim</eval>
            <wizards type="array">
                <_PADDING>2</_PADDING>
                <link type="array">
                    <type>popup</type>
                    <title>LLL:EXT:file_list/Resources/Private/Language/locallang_flexform.xlf:filelist.path.wizards.link.title</title>
                    <icon>EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif</icon>
                    <module type="array">
                        <name>wizard_link</name>
                    </module>
                    <params type="array">
                        <blindLinkOptions>page,url,mail,spec,file</blindLinkOptions>
                    </params>
                    <JSopenParams>height=600,width=800,status=0,menubar=0,scrollbars=1</JSopenParams>
                </link>
            </wizards>
        </config>
    </TCEforms>
</settings.path>

This shows such an option for the path:

option.png

When choosing a path with the wizard, the path is properly shown in the textbox but never copied to the corresponding hidden field (nothing happens when the field looses the focus). This leads to the path being “discarded” and never persisted to the DB. If however I manually type a path (or copy paste it), then it is properly persisted.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.