When double click on scheduler, event_id is not right

I have a problem with month scheduler.

In a week, I have an event on first day of this week. I double click on a day (has not any event)
in week. I have got event_id is event_id of first day of this week, I think I will get event_id is null.

But if there is not any event on first day of week, when I double click on a day(has not event).
I will get event_id is null. I think this case is right.

Please help me. I don’t know event_id that I got is not right.


Existing code must trigger onDblClick event only when you are clicking on already existing event and must not trigger it when empty space was dbl-clicked.

If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.

Logic is based on css class names, so be sure that you are not using such class as dhx_body for styling some custom elements.

I send to you demo about this problem.
Please see it and help me.

double click scheduler.zip (24.2 KB)

Change the code for new event adding as

start_date: “17-08-2010”,
end_date: “18-08-2010”,

		start_date: new Date(),
		end_date: new Date(),
		start_date: "23-08-2010",
      	end_date: "24-08-2010",

Currently you have start_date equal to the end_date which produces strange results in the view.

Thanks so much!!!