mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Replace exec_xml() with exec_json() in session clear script
This commit is contained in:
parent
c7e38873f5
commit
dd6b577780
1 changed files with 3 additions and 7 deletions
|
|
@ -1,10 +1,6 @@
|
|||
function doClearSession() {
|
||||
if (!confirm(xe.lang.confirm_run)) return;
|
||||
var response_tags = new Array('error','message','result');
|
||||
var params = new Array();
|
||||
exec_xml('session','procSessionAdminClear', params, completeClearSession, response_tags);
|
||||
}
|
||||
|
||||
function completeClearSession(ret_obj, response_tags) {
|
||||
alert(ret_obj['result']);
|
||||
exec_json('session.procSessionAdminClear', {}, function(data) {
|
||||
alert(data.result);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue