如何在不重新加载页面的情况下撤消对我保存的最后一个事件的事件DayPilot.Scheduler
操作?Resized
这是我的代码:
dp.onEventResized = function (args) {
if (confirm('Are you sure you want to edit this?')) {
--do some code --
}
else
{
window.location.reload();
//undo the last event..
}
};