onEventSave not responding according to the documentation

onEventSave returns a third parameter which:

is ‘true’ if the user is saving a new event
is ‘false’ - if the event to save already exists

In fact, it returns undefined for modified events (and also null if the lightbox has previously been called to create a new event) and the current date for new events.

The link to the corresponding doc:

http://docs.dhtmlx.com/scheduler/api__scheduler_oneventsave_event.html

That’s right. These is an imprecision in the documentation.