onEventCancel

fires when the user clicks on the 'Cancel' button in the lightbox (edit form)

void onEventCancel(string id,boolean flag);
idstringthe event's id
flagbooleanreturns 'true', if the user is cancelling a new event,
'false' - if the edited event already exists

Example

scheduler.attachEvent("onEventCancel", function(id, flag){
    //any custom logic here
});

Back to top