Project

General

Profile

Actions

Bug #80508

closed

wizard_link does not invoke the change JS in FlexForm

Added by Xavier Perseguers about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Start date:
2017-03-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

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:

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.


Files

option.png (10.9 KB) option.png Xavier Perseguers, 2017-03-28 10:04
Actions

Also available in: Atom PDF