From 857e52e104726ad4da6bb123e6882903e90200c9 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 12 Sep 2007 01:37:31 +0000 Subject: [PATCH] =?UTF-8?q?=EC=B2=A8=EB=B6=80=ED=8C=8C=EC=9D=BC=EC=9D=B4?= =?UTF-8?q?=20=EC=9E=88=EB=8A=94=20=EA=B8=80=EC=9D=84=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=8B=9C=20=EC=B2=A8=EB=B6=80=ED=8C=8C=EC=9D=BC=EC=9D=B4=20?= =?UTF-8?q?=EB=82=98=ED=83=80=EB=82=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2585 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/tpl/js/uploader.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/editor/tpl/js/uploader.js b/modules/editor/tpl/js/uploader.js index 3bbc1546f..bfcfedf51 100755 --- a/modules/editor/tpl/js/uploader.js +++ b/modules/editor/tpl/js/uploader.js @@ -23,7 +23,7 @@ function editor_upload_init(editor_sequence) { } function editor_upload_get_target_srl(editor_sequence) { - return editor_rel_keys[editor_sequence]['primary'].value; + return editor_rel_keys[editor_sequence]["primary"].value; } function editor_upload_get_uploader_name(editor_sequence) { @@ -172,9 +172,6 @@ function editor_display_uploaded_file(editor_sequence) { if(typeof(editor_sequence)=='undefined'||!editor_sequence) editor_sequence = _prev_editor_sequence; if(!editor_sequence) return; - // upload_target_srl이 없으면 무시 - var upload_target_srl = editor_rel_keys[editor_sequence]['primary'].value; - // 이미 등록된 전체 파일 목록을 구해옴 var url = request_uri + "?act=procFileDelete&editor_sequence="+editor_sequence+"&mid="+current_url.getQuery('mid'); @@ -188,7 +185,7 @@ function editor_display_uploaded_file(editor_sequence) { // 업로드된 파일 목록 비움 (단순히 select 객체의 내용을 지우고 미리보기를 제거함) function editor_upload_clear_list(editor_sequence, upload_target_srl) { if(!upload_target_srl || upload_target_srl<1) return; - editor_rel_keys[editor_sequence]['primary'].value = upload_target_srl; + editor_rel_keys[editor_sequence]["primary"].value = upload_target_srl; var obj = xGetElementById('uploaded_file_list_'+editor_sequence); while(obj.options.length) { @@ -267,7 +264,7 @@ function editor_remove_file(editor_sequence) { if(!iframe_obj) return; // upload_target_srl이 가상 번호일 경우 아무 동작 하지 않음 - var upload_target_srl = editor_rel_keys[editor_sequence]['primary'].value; + var upload_target_srl = editor_rel_keys[editor_sequence]["primary"].value; if(upload_target_srl<1) return; for(var i=0;i