[TYPO3-core] FYI: #12017: Wrong Inclusion in tceforms and tceforms_fe
Steffen Kamper
info at sk-typo3.de
Tue Sep 22 16:36:05 CEST 2009
Hi,
the following follow-up has been committed to trunk, rev 6030
You may have read this line in tceforms:
// @TODO: Change to loadJavascriptLib(), but fix "TS = new typoScript()"
issue first - see bug #9494
$jsFile[] = '<script type="text/javascript"
src="'.$this->backPath.'jsfunc.tbe_editor.js"></script>';
Now jsfunc.tbe_editor.js is included like the others in head section.
alt_doc has JS inline code and defines a new TS = new typoSetup(). So
the one from jsfunc.tbe_editor.js is overwritten, and the 2 variables
are missing.
The patch simply adds these 2 vars to the inline TS object of alt_doc.
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12017_follow-up.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090922/b66faaff/attachment.txt
More information about the TYPO3-team-core
mailing list