mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
Site selector added to menu selector
Graphs added to dashboard git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12496 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c1e3a4ef5d
commit
71db99a4b8
4 changed files with 148 additions and 7 deletions
|
|
@ -375,11 +375,15 @@ $.exec_json = function(action,data,func){
|
|||
,data:$.param(data)
|
||||
,success : function(data){
|
||||
$(".wfsr").hide().trigger('cancel_confirm');
|
||||
if(data.error > 0) alert(data.message);
|
||||
if(data.error == -1 && data.message == 'msg_is_not_administrator'){
|
||||
alert('You are not logged in as an administrator');
|
||||
// window.location.reload();
|
||||
return;
|
||||
if(data.error != 0){
|
||||
if(data.error == -1 && data.message == 'msg_is_not_administrator'){
|
||||
alert('You are not logged in as an administrator');
|
||||
// window.location.reload();
|
||||
return;
|
||||
}else{
|
||||
alert(data.message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if($.isFunction(func)) func(data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue