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

This commit is contained in:
zero 2007-04-06 03:48:39 +00:00
parent aeb1d32bf2
commit 7b5e44ea20
14 changed files with 368 additions and 25 deletions

View file

@ -157,17 +157,16 @@ function _editorAutoSave() {
function _editorAutoSaved(ret_obj) {
setTimeout(_editorAutoSave, 7000);
return null;
}
// 에디터의 전체 내용 return
function editorGetContent(upload_target_srl) {
var iframe_obj = editorGetIFrame(upload_target_srl);
if(!iframe_obj) return;
var html = '';
if(!iframe_obj) return null;
var html = null;
html = xInnerHtml(iframe_obj.contentWindow.document.body);
if(html) html = html.replace(/^<br>$/i,'');
if(!html) return "";
return html;
}

View file

@ -155,7 +155,6 @@ function editor_remove_file(upload_target_srl) {
var fo_obj = obj;
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 = "./?act=procFileDelete&upload_target_srl="+upload_target_srl+"&file_srl="+file_srl;
// iframe에 url을 보내버림
@ -192,7 +191,6 @@ function editor_insert_file(upload_target_srl) {
var fo_obj = obj;
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 = "./?module=file&amp;act=procFileDownload&amp;file_srl="+file_srl+"&amp;sid="+sid;
openComponent("url_link", upload_target_srl, url);
}