Fixed bug #9623: Flexform sections are not working anymore since script.aculo.us...
authorOliver Hader <oliver.hader@typo3.org>
Tue, 28 Oct 2008 12:56:57 +0000 (12:56 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 28 Oct 2008 12:56:57 +0000 (12:56 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4359 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index 16aabd9..1761104 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        * Fixed bug #9607: Module DB check uses hardcoded labels (thanks to Christopher Stelmaszyk)
        * Added feature ##9656: Extend t3lib_div::trimExplode to limit the number of elements
        * Follow-up to feature #9575: Return boolean value instead of filtered data
+       * Fixed bug #9623: Flexform sections are not working anymore since script.aculo.us is not loaded
 
 2008-10-24  Oliver Hader  <oliver@typo3.org>
 
index 359729b..533ac04 100755 (executable)
@@ -2519,6 +2519,8 @@ class t3lib_TCEforms      {
                                                        // If it's a "section" containing other elements:
                                                if ($value['section'])  {
 
+                                                               // Load script.aculo.us if flexform sections can be moved by drag'n'drop:
+                                                       $this->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js');
                                                                // Render header of section:
                                                        $output.= '<div class="bgColor2"><strong>'.$theTitle.'</strong></div>';