fires when the user tries to set for an event the time that is currently limited/blocked
id | string | the event id |
obj | object | the event object |
scheduler.attachEvent("onLimitViolation", function (id, obj){
//any custom logic here
});
Note, the event is called when the user tries to set for an event the time that is currently limited/blocked through:
If you return 'true' from the handler, the related event won't be blocked and can have non-allowed time.