Hi,
I’m working with the example of recurring event (dhtmlxScheduler_2.2\samples\03_extensions\01_recurring_events.html)
I added the piece of code of the .chm help file: “Customizations” -> “Tips” -> “Recurring events - drag all sequence”.
The problem is when i dobleClick to open the lightBox of a recurring event, and then press the cancel button. The only remaining ocurrence of the recurring event is the first one, the other disapear.
Thanks in advantage.
Issue can’t be reconstructed locally
Are you using scheduler 2.2 ?
Here is a local example of this issue.
Thanks.
sample.zip (131 KB)
Problem confirmed, replace old code snippet with
scheduler.attachEvent("onBeforeEventChanged",function(dev){
var parts = this._drag_id.toString().split("#");
if (parts.length > 1) {
this._drag_id= parts[0];
var ev = this.getEvent(parts[0]);
ev._end_date = ev.end_date;
ev.start_date = dev.start_date;
ev.end_date = dev.end_date;
}
return true;
});