onConfirmedBeforeEventDelete

fires after the user clicks on the delete button and confirms the deletion (in the event's bar or details window)

boolean onConfirmedBeforeEventDelete(string id,Event e);
idstringthe event's id
eEventa native event object
booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

scheduler.attachEvent("onConfirmedBeforeEventDelete", function(id,e){
    //any custom logic here
    return true;
});

Details

The event is blockable. Return false to cancel the default processing.

Back to top