rhymix/modules/message/m.skins/default/message.js
ChanMyeong f7360ef38d message module update
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7681 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-09-07 03:59:28 +00:00

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