From 9144e3a0c2042361d1e51af17b4fd67e862712ea Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 16 Oct 2007 06:52:01 +0000 Subject: [PATCH] =?UTF-8?q?scroll=EC=9D=B4=20=EC=A1=B0=EA=B8=88=EC=9D=B4?= =?UTF-8?q?=EB=9D=BC=EB=8F=84=20=EB=90=98=EC=96=B4=20=EC=9E=88=EC=9C=BC?= =?UTF-8?q?=EB=A9=B4=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=ED=8F=BC=EC=9D=98=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=95=84=EC=9D=B4=EB=94=94?= =?UTF-8?q?=EC=97=90=20=ED=8F=AC=EC=BB=A4=EC=8A=A4=EA=B0=80=20=EA=B0=80?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=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@2797 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- widgets/login_info/skins/xe_official/js/login.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/widgets/login_info/skins/xe_official/js/login.js b/widgets/login_info/skins/xe_official/js/login.js index c864ddc5d..fd6e8c24c 100644 --- a/widgets/login_info/skins/xe_official/js/login.js +++ b/widgets/login_info/skins/xe_official/js/login.js @@ -4,14 +4,12 @@ function doFocusUserId(fo_id) { if(xGetCookie('user_id')) { fo_obj.user_id.value = xGetCookie('user_id'); fo_obj.remember_user_id.checked = true; - try{ - fo_obj.password.focus(); - } catch(e) {}; - } else { - try{ - fo_obj.user_id.focus(); - } catch(e) {}; } + + try { + if(xScrollTop()) return; + fo_obj.user_id.focus(); + } catch(e) { } } /* 로그인 후 */