mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1066 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4addc42763
commit
749344c453
9 changed files with 155 additions and 53 deletions
|
|
@ -57,8 +57,24 @@ function doUploadImageMark() {
|
|||
_doUploadImage(fo_obj, 'procMemberInsertImageMark');
|
||||
}
|
||||
|
||||
/* 로그인 영역에 포커스 */
|
||||
function doFocusUserId(fo_id) {
|
||||
var fo_obj = xGetElementById(fo_id);
|
||||
if(xGetCookie('user_id')) {
|
||||
fo_obj.user_id.value = xGetCookie('user_id');
|
||||
fo_obj.remember_user_id.checked = true;
|
||||
}
|
||||
fo_obj.user_id.focus();
|
||||
}
|
||||
|
||||
/* 로그인 후 */
|
||||
function completeLogin(ret_obj) {
|
||||
function completeLogin(ret_obj, response_tags, params, fo_obj) {
|
||||
if(fo_obj.remember_user_id && fo_obj.remember_user_id.checked) {
|
||||
var expire = new Date();
|
||||
expire.setTime(expire.getTime()+ (7000 * 24 * 3600000));
|
||||
xSetCookie('user_id', fo_obj.user_id.value, expire);
|
||||
}
|
||||
|
||||
var url = location.href.setQuery('act','');
|
||||
location.href = location.href.setQuery('act','');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue