mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@45 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e1f8a69118
commit
cf9066af62
4 changed files with 9 additions and 22 deletions
|
|
@ -6,11 +6,17 @@
|
|||
|
||||
var alertMsg = new Array();
|
||||
|
||||
/**
|
||||
* @function filterAlertMessage
|
||||
* @brief ajax로 서버에 요청후 결과를 처리할 callback_function을 지정하지 않았을 시 호출되는 기본 함수
|
||||
function filterAlertMessage(ret_obj) {
|
||||
var error = ret_obj["error"];
|
||||
var message = ret_obj["message"];
|
||||
var redirect_url = ret_obj["redirect_url"];
|
||||
var url = location.href;
|
||||
if(typeof(message)!='undefined'&&message) alert(message);
|
||||
location.href = location.href;
|
||||
if(typeof(redirect_url)!='undefined'&&redirect_url) url = redirect_url;
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
// filtering
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue