mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +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
|
|
@ -5781,7 +5781,7 @@ xe.XE_AutoSave = jQuery.Class({
|
|||
jQuery(this.form.title).val(title);
|
||||
jQuery(this.form.document_srl).val(doc_srl);
|
||||
this.oApp.setIR(content);
|
||||
if(typeof(editorUploadInit) == 'function') editorUploadInit(uploadSettingObj, true);
|
||||
if(typeof(editorGetAutoSavedDoc) == 'function') editorGetAutoSavedDoc(this.form);
|
||||
} else {
|
||||
editorRemoveSavedDoc();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,6 +196,17 @@ function editorReplaceHTML(iframe_obj, content) {
|
|||
editorRelKeys[srl]["pasteHTML"](content);
|
||||
}
|
||||
|
||||
function editorGetAutoSavedDoc(form) {
|
||||
var param = new Array();
|
||||
param['mid'] = current_mid;
|
||||
param['editor_sequence'] = form.getAttribute('editor_sequence')
|
||||
setTimeout(function() {
|
||||
exec_xml('editor',"procEditorLoadSavedDocument", param);
|
||||
if(typeof(reloadFileList) == 'function') reloadFileList(uploaderSettings[param['editor_sequence']]);
|
||||
}, 0);
|
||||
|
||||
}
|
||||
|
||||
// WYSIWYG 모드를 저장하는 확장기능
|
||||
xe.XE_GET_WYSYWYG_MODE = jQuery.Class({
|
||||
name : "XE_GET_WYSYWYG_MODE",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue