Bug #19496
closedFlexform sections are not working anymore since script.aculo.us is not loaded
0%
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
Updated by Oliver Hader about 16 years ago
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!
Updated by Oliver Hader about 16 years ago
Version 2 of the patch does exactly the same but is IMO easier to read...
Updated by Steffen Kamper about 16 years ago
Thanks olly for the patch, now it's working perfect!
Updated by Oliver Hader about 16 years ago
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.
Updated by Peter Niederlag about 16 years ago
Do 'containers' need scriptaculous as well? I have done a slightly diffrenet patch adding scriptaculous only to 'sections'.
Updated by Peter Niederlag about 16 years ago
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)?
Updated by Oliver Hader about 16 years ago
- TYPO3_4-2 (rev. 4358)
- Trunk (rev. 4359)