회원정보 프로필이미지수정등이 안되는 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6260 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-05-04 05:15:28 +00:00
parent 4253fec499
commit 173c1f5ec7
2 changed files with 3 additions and 20 deletions

View file

@ -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();
}