파일 업로드 영역이 정의되어 있을때만 파일 업로드 재정의.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6580 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-06-17 11:20:25 +00:00
parent f930b24a71
commit 93d7697b88
5 changed files with 6 additions and 6 deletions

View file

@ -59,7 +59,7 @@ function editorStart_fck(editor, element, editor_sequence, content_key, editor_h
setTimeout(function(){
editorRelKeys[editor_sequence]['primary'].value = saved_srl;
setContent(editor_sequence,saved_content);
editorUploadInit(uploadSettingObj, true);
if(typeof(editorUploadInit) == 'function') editorUploadInit(uploadSettingObj, true);
}, 100);
} else {
editorRemoveSavedDoc();

View file

@ -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);
editorUploadInit(uploadSettingObj, true);
if(typeof(editorUploadInit) == 'function') editorUploadInit(uploadSettingObj, true);
} else {
editorRemoveSavedDoc();
}

View file

@ -54,7 +54,7 @@ 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;
editorUploadInit(uploadSettingObj, true);
if(typeof(editorUploadInit) == 'function') editorUploadInit(uploadSettingObj, true);
} else {
editorRemoveSavedDoc();
}