Index: t3lib/class.t3lib_tceforms.php
===================================================================
--- t3lib/class.t3lib_tceforms.php (revision 5215)
+++ t3lib/class.t3lib_tceforms.php (working copy)
@@ -2544,7 +2544,7 @@
if ($value['section']) {
// Load script.aculo.us if flexform sections can be moved by drag'n'drop:
- $this->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js');
+ $GLOBALS['SOBE']->doc->loadScriptaculous();
// Render header of section:
$output.= '
'.$theTitle.'
';
@@ -5132,14 +5132,14 @@
$this->loadJavascriptLib('md5.js');
}
- $this->loadJavascriptLib('contrib/prototype/prototype.js');
+ $GLOBALS['SOBE']->doc->loadPrototype();
$this->loadJavascriptLib('../t3lib/jsfunc.evalfield.js');
// @TODO: Change to loadJavascriptLib(), but fix "TS = new typoScript()" issue first - see bug #9494
$jsFile[] = '';
// if IRRE fields were processed, add the JavaScript functions:
if ($this->inline->inlineCount) {
- $this->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js');
+ $GLOBALS['SOBE']->doc->loadScriptaculous();
$this->loadJavascriptLib('../t3lib/jsfunc.inline.js');
$out .= '
inline.setPrependFormFieldNames("'.$this->inline->prependNaming.'");
Index: typo3/alt_db_navframe.php
===================================================================
--- typo3/alt_db_navframe.php (revision 5215)
+++ typo3/alt_db_navframe.php (working copy)
@@ -157,7 +157,7 @@
// Adding javascript code for AJAX (prototype), drag&drop and the pagetree as well as the click menu code
$this->doc->getDragDropCode('pages');
$this->doc->getContextMenuCode();
- $this->doc->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js?load=effects');
+ $this->doc->loadScriptaculous('effects');
$this->doc->JScode .= $this->doc->wrapScriptTags(
($this->currentSubScript?'top.currentSubScript=unescape("'.rawurlencode($this->currentSubScript).'");':'').'
Index: typo3/alt_doc.php
===================================================================
--- typo3/alt_doc.php (revision 5215)
+++ typo3/alt_doc.php (working copy)
@@ -453,7 +453,7 @@
$this->doc->setModuleTemplate('templates/alt_doc.html');
$this->doc->form = '