mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +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() {
|
function doClearSession() {
|
||||||
if (!confirm(xe.lang.confirm_run)) return;
|
if (!confirm(xe.lang.confirm_run)) return;
|
||||||
var response_tags = new Array('error','message','result');
|
exec_json('session.procSessionAdminClear', {}, function(data) {
|
||||||
var params = new Array();
|
alert(data.result);
|
||||||
exec_xml('session','procSessionAdminClear', params, completeClearSession, response_tags);
|
});
|
||||||
}
|
|
||||||
|
|
||||||
function completeClearSession(ret_obj, response_tags) {
|
|
||||||
alert(ret_obj['result']);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue