Index: t3lib/class.t3lib_pagerenderer.php =================================================================== --- t3lib/class.t3lib_pagerenderer.php (revision 10306) +++ t3lib/class.t3lib_pagerenderer.php (revision ) @@ -111,8 +111,8 @@ protected $addExtJS = FALSE; protected $addExtCore = FALSE; protected $extJSadapter = 'ext/ext-base.js'; + protected $extDirectCodeAdded = FALSE; - protected $enableExtJsDebug = FALSE; protected $enableExtCoreDebug = FALSE; @@ -139,7 +139,6 @@ protected $addSvg = FALSE; protected $enableSvgDebug = FALSE; - // used by BE modules public $backPath; @@ -945,6 +944,10 @@ * @return void */ public function addExtDirectCode() { + if ($this->extDirectCodeAdded) { + return; + } + $this->extDirectCodeAdded = TRUE; $token = ''; if (TYPO3_MODE === 'BE') { $formprotection = t3lib_formprotection_Factory::get();