Collision and recurring events.

I’m sorry for my newbie notice.
When I creating or changing recurring event with enabled collision extension, the error is appears:

Error: ReferenceError: data_copy is not defined
Source File: http://site.com/dhtmlx/scheduler/ext/dhtmlxscheduler_collision.js
Line: 54

In that line the “data_copy” passes as argument but this variable was never defined.
I change line 54 to:

scheduler._roll_back_dates(edited_ev);

… and seems to be everything was working.
May be it is a my stupid hack or may be there is a typo. I’m a novice.
Thanks.

Hello,

Thank you veru much for this report!
Indeed that was a typo, shame on us.

Kind regards,
Ilya

scheduler._roll_back_dates(a);

this fix worked fine in my case (not edited-ev)

thak you all :mrgreen: