mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
회원정보 프로필이미지수정등이 안되는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6260 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4253fec499
commit
173c1f5ec7
2 changed files with 3 additions and 20 deletions
|
|
@ -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", "<iframe id='tmp_upload_iframe' name='tmp_upload_iframe' style='display:none;width:1px;height:1px;position:absolute;top:-10px;left:-10px'></iframe>");
|
||||
} 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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
|
||||
<h3>{$lang->msg_update_member}</h3>
|
||||
|
||||
<form id="fo_insert_member" action="{getUrl()}" method="post" onsubmit="return procFilter(this, modify_info)" <!--@if($member_config->profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data"<!--@end-->>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<form id="fo_insert_member" action="{getUrl()}" method="post" onsubmit="return procFilter(this, modify_info)" <!--@if($member_config->profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data"<!--@end--> target="tmp_upload_iframe">
|
||||
<input type="hidden" name="act" value="" />
|
||||
<input type="hidden" name="member_srl" value="{$member_info->member_srl}" />
|
||||
<input type="hidden" name="signature" value="{htmlspecialchars($member_info->signature)}" />
|
||||
|
|
@ -271,4 +270,6 @@
|
|||
})(jQuery);
|
||||
</script>
|
||||
|
||||
<iframe id="tmp_upload_iframe" name="tmp_upload_iframe" style="display:none;width:1px;height:1px;position:absolute;top:-10px;left:-10px"></iframe>
|
||||
|
||||
<!--#include("./common_footer.html")-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue