Fix incorrect display of comment editor colorset

This commit is contained in:
Kijin Sung 2017-06-27 15:25:14 +09:00
parent 9f652e422f
commit f516b1f889
2 changed files with 3 additions and 1 deletions

View file

@ -46,6 +46,7 @@ class editorAdminView extends editor
$editor_skin_list = FileHandler::readDir(_XE_PATH_.'modules/editor/skins');
$skin_info = $oModuleModel->loadSkinInfo($this->module_path,$editor_config->editor_skin);
$comment_skin_info = $oModuleModel->loadSkinInfo($this->module_path,$editor_config->comment_editor_skin);
$contents = FileHandler::readDir(_XE_PATH_.'modules/editor/styles');
$content_style_list = array();
@ -128,6 +129,7 @@ class editorAdminView extends editor
Context::set('editor_config', $editor_config);
Context::set('editor_skin_list', $editor_skin_list);
Context::set('editor_colorset_list', $skin_info->colorset);
Context::set('comment_editor_colorset_list', $comment_skin_info->colorset);
Context::set('content_style_list', $content_style_list);
Context::set('component_list', $component_list);
Context::set('component_count', $component_count);