Event deletion events

I’m trying to use the onBeforeEventDelete to add custom logic for event deletion. However, I always get the confirmation box “Event will be deleted permanently, are you sure?” before my function is called. Based on the documentation and a forum topic from 2010, it looks like my function should be called before the confirmation box is displayed. It looks like both the onBeforeEventDelete and onConfirmedBeforeEventDelete are being called at the same time. Is this the right behavior? If so, is there a way to capture the delete request and handle it specially? This is for version 3.7 of the Scheduler.

Thanks

It is expected behavior ( may be not very logical, but expected )
There is no way to remove confirmation from built-in delete buttons.
If it necessary you can replace buttons with custom one, which can have fully custom on-click handlers.

docs.dhtmlx.com/doku.php?id=dhtm … settings&s[]=scheduler&s[]=custom&s[]=button#selection_menus

docs.dhtmlx.com/doku.php?id=dhtm … m_s_bottom