모듈 추가 설정에서 댓글의 에디터 컬러셋 영역이 나타나지 않는 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6079 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-10 03:35:37 +00:00
parent 9aae909493
commit 8cdbfd6303
5 changed files with 22 additions and 15 deletions

View file

@ -1,6 +1,6 @@
function getEditorSkinColorList(skin_name,selected_colorset,type){
if(skin_name.length>0){
type = type || 'board';
type = type || 'document';
var response_tags = new Array('error','message','colorset');
exec_xml('editor','dispEditorSkinColorset',{skin:skin_name},resultGetEditorSkinColorList,response_tags,{'selected_colorset':selected_colorset,'type':type});
}
@ -9,7 +9,7 @@ function getEditorSkinColorList(skin_name,selected_colorset,type){
function resultGetEditorSkinColorList(ret_obj,response_tags, params) {
var selectbox = null;
if(params.type == 'board'){
if(params.type == 'document'){
selectbox = xGetElementById("sel_editor_colorset");
}else{
selectbox = xGetElementById("sel_comment_editor_colorset");