From 173c1f5ec7333dc3f89e22db7e1874f73dd191e7 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 05:15:28 +0000 Subject: [PATCH] =?UTF-8?q?=ED=9A=8C=EC=9B=90=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=ED=94=84=EB=A1=9C=ED=95=84=EC=9D=B4=EB=AF=B8=EC=A7=80=EC=88=98?= =?UTF-8?q?=EC=A0=95=EB=93=B1=EC=9D=B4=20=EC=95=88=EB=90=98=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= 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@6260 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/member/skins/default/js/member.js | 18 ------------------ modules/member/skins/default/modify_info.html | 5 +++-- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/modules/member/skins/default/js/member.js b/modules/member/skins/default/js/member.js index a1682c032..a6e0fa75b 100644 --- a/modules/member/skins/default/js/member.js +++ b/modules/member/skins/default/js/member.js @@ -37,24 +37,6 @@ function completeLeave(ret_obj, response_tags, args, fo_obj) { /* 이미지 업로드 */ function _doUploadImage(fo_obj, act) { - // 업로드용 iframe을 생성 - if(!xGetElementById('tmp_upload_iframe')) { - if(xIE4Up) { - window.document.body.insertAdjacentHTML("afterEnd", ""); - } else { - var obj_iframe = xCreateElement('IFRAME'); - obj_iframe.name = obj_iframe.id = 'tmp_upload_iframe'; - obj_iframe.style.display = 'none'; - obj_iframe.style.width = '1px'; - obj_iframe.style.height = '1px'; - obj_iframe.style.position = 'absolute'; - obj_iframe.style.top = '-10px'; - obj_iframe.style.left = '-10px'; - window.document.body.appendChild(obj_iframe); - } - } - - fo_obj.target = "tmp_upload_iframe"; fo_obj.act.value = act; fo_obj.submit(); } diff --git a/modules/member/skins/default/modify_info.html b/modules/member/skins/default/modify_info.html index af07c49a7..d17e2ccc7 100644 --- a/modules/member/skins/default/modify_info.html +++ b/modules/member/skins/default/modify_info.html @@ -25,8 +25,7 @@

{$lang->msg_update_member}

-
profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data"> - + profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data" target="tmp_upload_iframe"> @@ -271,4 +270,6 @@ })(jQuery); + +