Bug #19496
closed
Flexform sections are not working anymore since script.aculo.us is not loaded
Added by Oliver Hader about 16 years ago.
Updated over 14 years ago.
Description
Due to a change of loading JavaScript resources between TYPO3 4.2.1 and 4.2.2 the script.aculo.us JavaScript framework now only gets loaded when it is required (before it was always loaded).
The solution is to explicitely load script.aculo.us when flexform sections are being rendered.
(issue imported from #M9623)
Files
Please test the attached patch with the provided extension.
To do so, create a new content element of type "Insert plugin" and select "Test Flexform sections" as plugin name. Thanks to Steffen Kamper for writing this test!
Version 2 of the patch does exactly the same but is IMO easier to read...
Thanks olly for the patch, now it's working perfect!
Hi Peter, a patch for this issue is pending in the Core List. You can give your +1 there if it solves your problem as well.
Do 'containers' need scriptaculous as well? I have done a slightly diffrenet patch adding scriptaculous only to 'sections'.
0009623_v2.patch and patch-sections-8518.patch both work.
patch-sections-8518.patch will call loadJavascript only once though while 0009623_v2.patch will call it fo ALL child ellements. Do you think this is needed (for 'containers' maybe)?
Committed to SVN:
- TYPO3_4-2 (rev. 4358)
- Trunk (rev. 4359)
Also available in: Atom
PDF