mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
로그인 UI 개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7008 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e5f945203f
commit
91c61c0890
4 changed files with 102 additions and 116 deletions
|
|
@ -1,27 +1,11 @@
|
|||
/* 로그인 후 */
|
||||
function completeMessageLogin(ret_obj, response_tags, params, fo_obj) {
|
||||
var url = current_url.setQuery('act','');
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 오픈아이디 로그인 후 */
|
||||
function completeMessageOpenIDLogin(ret_obj, response_tags) {
|
||||
var redirect_url = ret_obj['redirect_url'];
|
||||
location.href = redirect_url;
|
||||
}
|
||||
|
||||
|
||||
/* 오픈 아이디 폼 변환 */
|
||||
function toggleLoginForm(obj) {
|
||||
if(xGetElementById('messageLogin').style.display != "none") {
|
||||
xGetElementById('messageLogin').style.display = "none";
|
||||
xGetElementById('messageOpenidLogin').style.display = "block";
|
||||
xGetElementById('messageOpenIDForm').use_open_id_2.checked = true;
|
||||
xGetElementById('messageOpenIDForm').openid.focus();
|
||||
} else {
|
||||
xGetElementById('messageLogin').style.display = "block";
|
||||
xGetElementById('messageOpenidLogin').style.display = "none";
|
||||
xGetElementById('messageLoginForm').use_open_id.checked = false;
|
||||
xGetElementById('messageLoginForm').user_id.focus();
|
||||
}
|
||||
}
|
||||
/* 로그인 후 */
|
||||
function completeMessageLogin(ret_obj, response_tags, params, fo_obj) {
|
||||
var url = current_url.setQuery('act','');
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 오픈아이디 로그인 후 */
|
||||
function completeMessageOpenIDLogin(ret_obj, response_tags) {
|
||||
var redirect_url = ret_obj['redirect_url'];
|
||||
location.href = redirect_url;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue