mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +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
|
|
@ -54,7 +54,13 @@ function editorStart_xq(editor, element, editor_sequence, content_key, editor_he
|
|||
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;
|
||||
if(typeof(editorUploadInit) == 'function') editorUploadInit(uploadSettingObj, true);
|
||||
xAddEventListener(window,"load",function() { var param = new Array();
|
||||
param['editor_sequence'] = editor_sequence;
|
||||
param['primary_key'] = primary_key;
|
||||
param['mid'] = current_mid;
|
||||
var response_tags = new Array("error","message","editor_sequence","key","title","content","document_srl");
|
||||
exec_xml('editor',"procEditorLoadSavedDocument", param, null, response_tags);
|
||||
});
|
||||
} else {
|
||||
editorRemoveSavedDoc();
|
||||
}
|
||||
|
|
@ -72,7 +78,6 @@ function setEditMode(editor, editor_height, editor_sequence) {
|
|||
editor.getFrame().style.width = "100%";
|
||||
editor.setWidth("100%");
|
||||
editor.setHeight(editor_height);
|
||||
editor.getBody().setAttribute('editor_sequence', editor_sequence);
|
||||
editor.addAutocompletions(getAdditionalAutocompletions());
|
||||
|
||||
// 위젯 감시를 위한 더블클릭 이벤트 걸기
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue