자동 저장 문서 파일 첨부 불러오기 끝

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6546 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-06-15 07:08:59 +00:00
parent d26ad3c592
commit b6432e5bf4
8 changed files with 19 additions and 7 deletions

View file

@ -46,12 +46,15 @@ function editorStart_xq(editor, element, editor_sequence, content_key, editor_he
var saved_title = fo_obj._saved_doc_title.value;
var saved_content = fo_obj._saved_doc_content.value;
var saved_srl = fo_obj._saved_doc_srl.value;
if(saved_title || saved_content) {
// 자동저장된 문서 활용여부를 물은 후 사용하지 않는다면 자동저장된 문서 삭제
if(confirm(fo_obj._saved_doc_message.value)) {
if(typeof(fo_obj.title)!='undefined') fo_obj.title.value = saved_title;
editorRelKeys[editor_sequence]['content'].value = saved_content;
editorRelKeys[editor_sequence]['primary'].value = saved_srl;
editorUploadInit(uploadSettingObj, true);
} else {
editorRemoveSavedDoc();
}