Replace exec_xml() with exec_json() in session clear script

This commit is contained in:
Kijin Sung 2024-04-17 23:28:24 +09:00
parent c7e38873f5
commit dd6b577780

View file

@ -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']);
} }