mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
move default theme from theme project to core project
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9807 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c68e2933f
commit
f3831fc286
473 changed files with 6299 additions and 0 deletions
36
widgets/login_info/skins/xe_globalTwo/js/login.js
Normal file
36
widgets/login_info/skins/xe_globalTwo/js/login.js
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* 로그인 영역에 포커스 */
|
||||
function doFocusUserId(fo_id) {
|
||||
if(xScrollTop()) return;
|
||||
var fo_obj = xGetElementById(fo_id);
|
||||
if(fo_obj.user_id) {
|
||||
try{
|
||||
fo_obj.user_id.focus();
|
||||
} catch(e) {};
|
||||
}
|
||||
}
|
||||
|
||||
/* 로그인 후 */
|
||||
function completeLogin(ret_obj, response_tags, params, fo_obj) {
|
||||
var url = current_url.setQuery('act','');
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 오픈아이디 로그인 후 */
|
||||
function completeOpenIDLogin(ret_obj, response_tags) {
|
||||
var redirect_url = ret_obj['redirect_url'];
|
||||
location.href = redirect_url;
|
||||
}
|
||||
|
||||
/* 오픈 아이디 폼 변환 */
|
||||
function toggleLoginForm(obj) {
|
||||
if(xGetElementById('login').style.display != "none") {
|
||||
xGetElementById('login').style.display = "none";
|
||||
xGetElementById('openid_login').style.display = "block";
|
||||
xGetElementById('use_open_id_2').checked = true;
|
||||
} else {
|
||||
xGetElementById('openid_login').style.display = "none";
|
||||
xGetElementById('login').style.display = "block";
|
||||
xGetElementById('use_open_id').checked = false;
|
||||
xGetElementById('use_open_id_2').checked = false;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue