git-svn-id: http://xe-core.googlecode.com/svn/trunk@899 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-02 08:50:27 +00:00
parent b3b0f914d1
commit 87fb415747
6 changed files with 19 additions and 8 deletions

View file

@ -20,5 +20,6 @@
<response callback_func="completeInsert">
<tag name="error" />
<tag name="message" />
<tag name="redirect_url" />
</response>
</filter>

View file

@ -2,10 +2,12 @@
function completeInsert(ret_obj, response_tags, args, fo_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var redirect_url = ret_obj['redirect_url'];
alert(message);
location.href = location.href.setQuery('act','');
if(redirect_url) location.href = redirect_url;
else location.href = location.href.setQuery('act','');
}
/* 정보 수정 */