Show Lightbox onBeforeEventCreated

Hello,
what I would like to do:
Display lightbox after user has created an event by drag and drop or double click.
I think event handler “onBeforeEventCreated” should do this?

Anyway, this code does not work:

scheduler.attachEvent(“onBeforeEventCreated”, function(e){
scheduler.showLightbox(e);
return true;
});

It only prevents the user from finishing the drag and drop operation but does not show the lightbox.
The browser console of firefux returns: “TypeError: s is undefined”

What am I doing wrong?

Thanks,
Benedikt.

Hi,
try using this config
docs.dhtmlx.com/scheduler/api__s … onfig.html

Thank you very much. Works exactly as I need it.