mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
회원가입창을 새창으로 띄웠을경우(get query에 popup=1 명시) 회원가입후 창닫고 부모창을 리로드하도록 코드 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4607 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
850c1d6b25
commit
32b0cab1d2
2 changed files with 12 additions and 3 deletions
|
|
@ -6,8 +6,13 @@ function completeInsert(ret_obj, response_tags, args, fo_obj) {
|
|||
|
||||
alert(message);
|
||||
|
||||
if(redirect_url) location.href = redirect_url;
|
||||
else location.href = current_url.setQuery('act','');
|
||||
if(current_url.getQuery('popup')==1) {
|
||||
if(typeof(opener)!='undefined') opener.location.reload();
|
||||
window.close();
|
||||
} else {
|
||||
if(redirect_url) location.href = redirect_url;
|
||||
else location.href = current_url.setQuery('act','');
|
||||
}
|
||||
}
|
||||
|
||||
/* 정보 수정 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue