fix a bug introduced with rev.31401 (was disabling the ability to switch to HTML Mode from plain/text mode, if starting with plain/text)

This commit is contained in:
Klaus Leithoff 2010-07-27 12:59:50 +00:00
parent 396c6b4074
commit 955c3bbc5b

View File

@ -466,7 +466,7 @@
} else { } else {
$style="border:0px; width:100%; height:400px;"; $style="border:0px; width:100%; height:400px;";
// initalize the CKEditor Object to enable switching back and force // initalize the CKEditor Object to enable switching back and force
$editor = html::fckEditorQuick('body', 'ascii', $sessionData['body'],'400px','99%'); $editor = $editorObject->init().html::fckEditorQuick('body', 'ascii', $sessionData['body'],'400px','99%');
$this->t->set_var('tinymce', $editor); //html::fckEditorQuick('body', 'ascii', $sessionData['body'],'400px','99%')); $this->t->set_var('tinymce', $editor); //html::fckEditorQuick('body', 'ascii', $sessionData['body'],'400px','99%'));
$this->t->set_var('mimeType', 'text'); $this->t->set_var('mimeType', 'text');
$ishtml=0; $ishtml=0;