Project

General

Profile

Bug #19624 » 0009807_trunk.patch

Administrator Admin, 2008-11-21 13:02

View differences:

typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (Arbeitskopie)
$this->addSkin();
// Loading JavaScript files and code
$this->TCEform->additionalCode_pre['rtehtmlarea-loadJSfiles'] = $this->loadJSfiles($this->TCEform->RTEcounter);
$this->TCEform->additionalJS_pre['rtehtmlarea-loadJScode'] = $this->loadJScode($this->TCEform->RTEcounter);
// Important: Load and define only for the first instance of RTEhtmlarea, otherwise it will fail with IRRE!
if ($this->TCEform->RTEcounter == 1) {
$this->TCEform->additionalCode_pre['rtehtmlarea-loadJSfiles'] = $this->loadJSfiles($this->TCEform->RTEcounter);
$this->TCEform->additionalJS_pre['rtehtmlarea-loadJScode'] = $this->loadJScode($this->TCEform->RTEcounter);
}
/* =======================================
* DRAW THE EDITOR
(2-2/2)