mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix editor skin and colorset not being applied in message write screen
This commit is contained in:
parent
00e70f80df
commit
409ffe867b
1 changed files with 3 additions and 2 deletions
|
|
@ -255,6 +255,7 @@ class communicationView extends communication
|
|||
// set a signiture by calling getEditor of the editor module
|
||||
$oEditorModel = getModel('editor');
|
||||
$option = $oEditorModel->getEditorConfig();
|
||||
$option->default_editor_settings = false;
|
||||
$option->primary_key_name = 'temp_srl';
|
||||
$option->content_key_name = 'content';
|
||||
$option->allow_fileupload = $this->config->enable_attachment === 'Y';
|
||||
|
|
@ -264,8 +265,8 @@ class communicationView extends communication
|
|||
$option->resizable = FALSE;
|
||||
$option->disable_html = TRUE;
|
||||
$option->height = 300;
|
||||
$option->skin = $this->config->editor_skin;
|
||||
$option->colorset = $this->config->editor_colorset;
|
||||
$option->editor_skin = $this->config->editor_skin;
|
||||
$option->sel_editor_colorset = $this->config->editor_colorset;
|
||||
$option->editor_focus = Context::get('source_message') ? 'Y' : 'N';
|
||||
$editor = $oEditorModel->getEditor(getNextSequence(), $option);
|
||||
$editor = $editor . "\n" . '<input type="hidden" name="temp_srl" value="" />' . "\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue