+2011-02-06 Steffen Kamper <steffen@typo3.org>
+
+ * Fixed bug #17464: ExtDirectCode is added twice
+
2011-02-06 Steffen Gebert <steffen@steffen-gebert.de>
* Fixed bug #12998: Icons for Word documents missing (Thanks to Tobias Schäfer)
protected $addExtJS = FALSE;
protected $addExtCore = FALSE;
protected $extJSadapter = 'ext/ext-base.js';
-
+ protected $extDirectCodeAdded = FALSE;
protected $enableExtJsDebug = FALSE;
protected $enableExtCoreDebug = FALSE;
protected $addSvg = FALSE;
protected $enableSvgDebug = FALSE;
-
// used by BE modules
public $backPath;
* @return void
*/
public function addExtDirectCode() {
+ if ($this->extDirectCodeAdded) {
+ return;
+ }
+ $this->extDirectCodeAdded = TRUE;
$token = '';
if (TYPO3_MODE === 'BE') {
$formprotection = t3lib_formprotection_Factory::get();