git-svn-id: http://xe-core.googlecode.com/svn/trunk@834 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-30 09:17:09 +00:00
parent abdb0eec17
commit 10be4c845a
10 changed files with 51 additions and 22 deletions

View file

@ -146,7 +146,7 @@ function _editorAutoSave() {
xGetElementById("editor_autosaved_message").style.display = "block";
setTimeout(function() {xGetElementById("editor_autosaved_message").style.display = "none";}, 3000);
show_waiting_message = false;
exec_xml("editor","procSaveDoc", params, _editorAutoSaved);
exec_xml("editor","procEditorSaveDoc", params, _editorAutoSaved);
show_waiting_message = true;
return;
}

View file

@ -59,7 +59,7 @@ function editor_upload_form_set(upload_target_srl) {
var document_srl = "";
if(fo_obj["document_srl"]) document_srl = fo_obj.document_srl.value;
var url = "./?act=procFileDeleteFile&upload_target_srl="+upload_target_srl;
var url = "./?act=procFileDelete&upload_target_srl="+upload_target_srl;
if(module) url+="&module="+module;
if(mid) url+="&mid="+mid;
if(document_srl) url+="&document_srl="+document_srl;
@ -159,7 +159,7 @@ function editor_remove_file(upload_target_srl) {
while(fo_obj.nodeName != 'FORM') { fo_obj = fo_obj.parentNode; }
var mid = fo_obj.mid.value;
var upload_target_srl = fo_obj.upload_target_srl.value;
var url = "./?mid="+mid+"&act=procFileDeleteFile&upload_target_srl="+upload_target_srl+"&file_srl="+file_srl;
var url = "./?mid="+mid+"&act=procFileDelete&upload_target_srl="+upload_target_srl+"&file_srl="+file_srl;
// iframe에 url을 보내버림
var iframe_obj = xGetElementById('tmp_upload_iframe');
@ -200,15 +200,3 @@ function editor_insert_file(upload_target_srl) {
openComponent("url_link", upload_target_srl, url);
}
}
/**
* 글을 쓰다가 페이지 이동시 첨부파일에 대한 정리
**/
function editorRemoveAttachFiles(mid, upload_target_srl) {
var obj = xGetElementById('uploaded_file_list_'+upload_target_srl);
if(obj.options.length<1) return;
var params = new Array();
params['upload_target_srl'] = upload_target_srl;
exec_xml(mid, 'procClearFile', params, null, null, null);
}