Index: t3lib/class.t3lib_tceforms.php =================================================================== --- t3lib/class.t3lib_tceforms.php (Revision 3674) +++ t3lib/class.t3lib_tceforms.php (Arbeitskopie) @@ -5020,6 +5020,7 @@ $jsFile[] = ''; // if IRRE fields were processed, add the JavaScript functions: + // @todo: remove superflous inclusion of scriptaculous, see some lines above if ($this->inline->inlineCount) { $jsFile[] = ''; $jsFile[] = ''; @@ -5154,8 +5155,14 @@ '; // Regular direct output: + // @todo why do we have the very same check for !$update again which will reset $out ??? if (!$update) { $spacer = chr(10).chr(9); + /** @todo this seems terribly messed up since $out will be reset + * what happens to $this->additionalJS_post? + * how to get that *behind* $jsFile? + * might be useful if we want to use scriptaculous and/or prototype ourselves + */ $out = $spacer.implode($spacer, $jsFile).t3lib_div::wrapJS($out); }