[TYPO3-core] RFC: Bug 5248: IRRE - Element browser cannot be used on new child records of a new parent record
Oliver Hader
oh at inpublica.de
Fri Mar 30 11:53:10 CEST 2007
FYI: Committed to SVN Trunk & TYPO3_4-1
Oliver Hader wrote:
> 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
--
Oliver Hader
http://inpublica.de/
More information about the TYPO3-team-core
mailing list