mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
자동 저장 문서 불러오면 파일 삭제 안되는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6652 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b1bb5702ce
commit
5c938fa1e2
6 changed files with 33 additions and 12 deletions
|
|
@ -107,11 +107,10 @@ function editorStart(editor_sequence, primary_key, content_key, editor_height, f
|
|||
var param = new Array();
|
||||
param['editor_sequence'] = editor_sequence;
|
||||
param['primary_key'] = primary_key;
|
||||
paran['mid'] = current_mid;
|
||||
param['mid'] = current_mid;
|
||||
var response_tags = new Array("error","message","editor_sequence","key","title","content","document_srl");
|
||||
exec_xml('editor',"procEditorLoadSavedDocument", param, getAutoSavedSrl, response_tags);
|
||||
if(typeof(editorUploadInit) == 'function') editorUploadInit(uploadSettingObj, true);
|
||||
|
||||
if(typeof(uploadSettingObj[param['editor_sequence']]) == 'object') editorUploadInit(uploadSettingObj[param['editor_sequence']], true);
|
||||
} else {
|
||||
editorRemoveSavedDoc();
|
||||
}
|
||||
|
|
@ -568,11 +567,11 @@ function setPreviewHeight(editor_sequence){
|
|||
if(h < 400) h=400;
|
||||
xHeight('editor_preview_'+editor_sequence,h+20);
|
||||
}
|
||||
|
||||
function getAutoSavedSrl(ret_obj, response_tags, c) {
|
||||
var editor_sequence = ret_obj['editor_sequence'];
|
||||
var primary_key = ret_obj['key'];
|
||||
var fo_obj = editorGetForm(editor_sequence);
|
||||
|
||||
fo_obj[primary_key].value = ret_obj['document_srl'];
|
||||
editorUploadInit(uploadSettingObj, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue