[TYPO3-core] RFC: Bug #8518: Wrong JavaScript inclusion in t3lib_TCEforms
Martin Kutschker
masi-no at spam-typo3.org
Wed Jul 30 20:18:44 CEST 2008
Oliver Hader schrieb:
>
> When the file typo3/template.php is included, an instance of the
> template object is put to $GLOBALS['TBE_TEMPLATE']. Thus, there are two
> possibilities for that:
>
> 1) Use $GLOBALS['SOBE']->doc->loadJavascriptLib() in t3lib_TCEforms
> 2) Use $GLOBALS['TBE_TEMPLATE']->loadJavascriptLib() like in the patch
> and use the already existing template instance which is always available
Ok for me. I just wondered why it before wasn't used.
Masi
More information about the TYPO3-team-core
mailing list