[TYPO3-dev] config.removeDefaultJS = external
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Nov 26 10:36:49 CET 2007
Hi!
Steffen Kamper wrote:
> code does only a simple comparison:
> elseif ($GLOBALS['TSFE']->config['config']['removeDefaultJS']==='external')
> {
> $_scriptCode = TSpagegen::inline2TempFile($_scriptCode, 'js');
No, it does not. See the whole logic (class.tslib_pagegen.php, line 772):
if (!$GLOBALS['TSFE']->config['config']['removeDefaultJS']) {
// Put it inline
} elseif ($GLOBALS['TSFE']->config['config']['removeDefaultJS']==='external') {
// Move to external file
}
Why do you want another empty block for remaining value (1), which removes JS comletely? :)
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-dev
mailing list