mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7681 201d5d3c-b55e-5fd7-737f-ddc643e51545
25 lines
651 B
JavaScript
25 lines
651 B
JavaScript
/* 로그인 후 */
|
|
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($){
|
|
var gLogin = $('#gLogin');
|
|
var oLogin = $('#oLogin');
|
|
oLogin.hide();
|
|
$('a[href=#oLogin]').click(function(){
|
|
gLogin.hide();
|
|
oLogin.show();
|
|
});
|
|
$('a[href=#gLogin]').click(function(){
|
|
gLogin.show();
|
|
oLogin.hide();
|
|
});
|
|
});
|
|
|