Double click event on empty cell

I have an issue in that I have connected the onEmptyClick event to create a new event. However if the date is in the past it does nothing. Which is great.

However the issue is that if the user double clicks in an empty cell in the past a lightbox shows up.

I tried putting returning false in the double click event on the off chance there was an undocumented get out, however nothing.

scheduler.attachEvent("onDblClick", function (id, e){ alert("onDblClick"); return false; });

Is there a way to prevent the lightbox from opening on a double click?

Not to worry, I found it whilst looking something else up:

scheduler.config.dblclick_create = false;