파일 업로드 영역이 정의되어 있을때만 파일 업로드 재정의.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6580 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-06-17 11:20:25 +00:00
parent f930b24a71
commit 93d7697b88
5 changed files with 6 additions and 6 deletions

View file

@ -109,7 +109,7 @@ function editorStart(editor_sequence, primary_key, content_key, editor_height, f
param['primary_key'] = primary_key;
var response_tags = new Array("error","message","editor_sequence","key","title","content","document_srl");
exec_xml('editor',"procEditorLoadSavedDocument", param, getAutoSavedSrl, response_tags);
editorUploadInit(uploadSettingObj, true);
if(typeof(editorUploadInit) == 'function') editorUploadInit(uploadSettingObj, true);
} else {
editorRemoveSavedDoc();

View file

@ -282,10 +282,10 @@ function completeReloadFileList(ret_obj, response_tags, settings) {
}
}
// var swfu = SWFUpload.instances[swfUploadObjs[editor_sequence]].setFileSizeLimit(left_size);
var swfu = SWFUpload.instances[swfUploadObjs[editor_sequence]].setFileSizeLimit(left_size);
// 문서 강제 자동저장
_editorAutoSave(true);
if(typeof(_editorAutoSave) == 'function') _editorAutoSave(true);
xAddEventListener(listObj,'click',previewFiles);
}