single click on scheduler to show the lightbox

Hello!

AS the samples, when double click on scheduler , it will show the lightbox.
I want to single click on scheduler to show the lightbox, is that Ok. Help me how to do so!

Thanks.

scheduler.attachEvent("onClick", function(id){ scheduler.showLightbox(id); return false; })

Hello

Thanks for your reply but i mean that i want single click on scheduler to create New event. How to do so?

Try to use the next code

scheduler.attachEvent("onClick", function(id, e){ scheduler._on_dbl_click(e||event); return false; })