Javascript 如何在不重新加载页面的情况下撤消上次保存的事件中移动的action Day Pilot.Scheduler on事件?

Javascript 如何在不重新加载页面的情况下撤消上次保存的事件中移动的action Day Pilot.Scheduler on事件?,javascript,ajax,json,daypilot,Javascript,Ajax,Json,Daypilot,如何在不重新加载页面的情况下,撤消上次保存的事件中移动的事件的操作DayPilot.Scheduler if (response.result == "OK") { if (confirm('Are you sure you want to edit this?')) { DayPilot.request("backend_move.php", function(req) { // success var respo

如何在不重新加载页面的情况下,撤消上次保存的事件中移动的事件的操作
DayPilot.Scheduler

if (response.result == "OK") {
    if (confirm('Are you sure you want to edit this?')) {
        DayPilot.request("backend_move.php",
            function(req) { // success
                var response = eval("(" +req.responseText + ")");
                if (response && response.result) {dp.message("Moved: " +response.message);
                }
            },
            args,
            function(req) {  // error
                dp.message("Saving failed");
            }
        );
        //loadEvents();
    } else {

        args.preventDefault();
    }
}

试图让它至少更容易理解一点。@papirtiger先生……确认ok请求已经很好,并保存到数据库中,但当我取消请求时,我的请求不会移动到其原始位置。我尝试了以下代码“args.preventDefault();”但它仍然无法移动或撤消我所做的更改或移动…对不起,我的英语不好:)请帮帮我