How to undo the action DayPilot.Scheduler
on event Resized
on the last event i saved without reloading the page?
Here is my code:
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..
}
};