mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@393 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4e044cbbfd
commit
3890c0c97c
40 changed files with 682 additions and 82 deletions
|
|
@ -16,6 +16,7 @@ function filterAlertMessage(ret_obj) {
|
|||
var message = ret_obj["message"];
|
||||
var redirect_url = ret_obj["redirect_url"];
|
||||
var url = location.href;
|
||||
if(url.substr(-1)=='#') url = url.substr(0,url.length-1);
|
||||
if(typeof(message)!='undefined'&&message&&message!='success') alert(message);
|
||||
if(typeof(redirect_url)!='undefined'&&redirect_url) url = redirect_url;
|
||||
location.href = url;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue