Follow-up to bug #11985: corrected calls loadScriptaculous() in tceforms
authorSteffen Kamper <info@sk-typo3.de>
Thu, 17 Sep 2009 21:41:35 +0000 (21:41 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 17 Sep 2009 21:41:35 +0000 (21:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5966 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index 8b63789..7451a6d 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-17  Steffen Kamper  <info@sk-typo3.de>
+
+       * Follow-up to bug #11985: corrected calls loadScriptaculous() in tceforms
+
 2009-09-17  Ingo Renner  <ingo@typo3.org>
 
        * Fixed bug #11983: TCEforms suggest has no search indicator, credits Steffen Gebert
index 62bb2b4..edb3cbe 100644 (file)
@@ -2600,7 +2600,7 @@ class t3lib_TCEforms      {
                                                if ($value['section'])  {
 
                                                                // Load script.aculo.us if flexform sections can be moved by drag'n'drop:
-                                                       $GLOBALS['SOBE']->doc->loadScriptaculous();
+                                                       $GLOBALS['SOBE']->doc->getPageRenderer()->loadScriptaculous();
                                                                // Render header of section:
                                                        $output.= '<div class="bgColor2"><strong>'.$theTitle.'</strong></div>';
 
@@ -5278,7 +5278,7 @@ class t3lib_TCEforms      {
 
                                // if IRRE fields were processed, add the JavaScript functions:
                        if ($this->inline->inlineCount) {
-                               $GLOBALS['SOBE']->doc->loadScriptaculous();
+                               $GLOBALS['SOBE']->doc->getPageRenderer()->loadScriptaculous();
                                $this->loadJavascriptLib('../t3lib/jsfunc.inline.js');
                                $out .= '
                                inline.setPrependFormFieldNames("'.$this->inline->prependNaming.'");