Index: t3lib/class.t3lib_pagerenderer.php =================================================================== --- t3lib/class.t3lib_pagerenderer.php (revision 7224) +++ t3lib/class.t3lib_pagerenderer.php (working copy) @@ -966,12 +966,11 @@ $jsFooterFiles = ''; $noJS = FALSE; - $jsLibs = $this->renderJsLibraries(); + // preRenderHook for possible manuipulation if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess'])) { $params = array ( - 'jsLibsCore' => &$jsLibs, 'jsLibs' => &$this->jsLibs, 'jsFiles' => &$this->jsFiles, 'jsFooterFiles' => &$this->jsFiles, @@ -986,6 +985,8 @@ } } + $jsLibs = $this->renderJsLibraries(); + if ($this->compressCss || $this->compressJavascript) { // do the file compression $this->doCompress();