[TYPO3-core] RFC: Bug 5248: IRRE - Element browser cannot be used on new child records of a new parent record
Ingmar Schlecht
ingmar at typo3.org
Tue Mar 27 16:27:02 CEST 2007
Patch looks good, +1.
cheers
Ingmar
Oliver Hader schrieb:
> This is a SVN patch request.
>
> Problem:
> Imagine you create a new parent record with a related new child record
> using IRRE. The child record has a field which uses the element browser
> (e.g. to integrate an image/file).
> Since the child record was not present when the parent was created,
> TCEforms didn't load the required JavaScript functions for the element
> browser. The result is a JavaScript error "setFormValueOpenBrowser is
> not defined".
>
> Solution:
> Load the JavaScript functions for the element browser in
> t3lib_TCEforms::printNeededJSFunctions() if the parent record contains
> one or more fields which use the TCA type "inline".
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5248
>
> Branches: Trunk & TYPO3_4-1
>
>
> olly
More information about the TYPO3-team-core
mailing list