[TYPO3-dev] config.removeDefaultJS = external
Steffen Kamper
steffen at sk-typo3.de
Mon Nov 26 10:46:21 CET 2007
"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1196069807.15977.typo3-dev at lists.netfielders.de...
> 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
gotcha ;-) I didn't saw the option to remove completely (but i don't see the
sense because it fails when using e.g. spamProtectEmailAddresses and remove
JS)
vg Steffen
More information about the TYPO3-dev
mailing list