mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 23:59:57 +09:00
첨부파일 저장시 자동 저장 1번만 하도록 수정, document_srl 이외의 key에서도 자동저장 문서 제대로 불러오도록 스킨 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6657 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
39896e0fbc
commit
7a5924a159
3 changed files with 10 additions and 5 deletions
|
|
@ -5779,7 +5779,6 @@ xe.XE_AutoSave = jQuery.Class({
|
|||
if (title || content) {
|
||||
if (confirm(this.form._saved_doc_message.value)) {
|
||||
jQuery(this.form.title).val(title);
|
||||
jQuery(this.form.document_srl).val(doc_srl);
|
||||
this.oApp.setIR(content);
|
||||
if(typeof(editorGetAutoSavedDoc) == 'function') editorGetAutoSavedDoc(this.form);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -200,8 +200,10 @@ 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);
|
||||
setTimeout(function() {
|
||||
alert(editorRelKeys[param['editor_sequence']]['primary'].value);
|
||||
var response_tags = new Array("error","message","editor_sequence","title","content","document_srl");
|
||||
exec_xml('editor',"procEditorLoadSavedDocument", param, function(a,b,c) { editorRelKeys[param['editor_sequence']]['primary'].value = a['document_srl']; }, response_tags);
|
||||
if(typeof(reloadFileList) == 'function') reloadFileList(uploaderSettings[param['editor_sequence']]);
|
||||
}, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue