[TYPO3-core] RFC: Bug 5248: IRRE - Element browser cannot be used on new child records of a new parent record

Michael Stucki michael at typo3.org
Thu Mar 29 23:31:54 CEST 2007


No-brainer, go commit.

- michael

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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list