Delete single event when recurring used

What could be the reason for this strange behvior.
If i enable the recurring function (dhtmlxscheduler_recurring.js), after i delete a single event it will be deleted in the database but not on the scheduler (screen). It is crossed out for a moment. That’s it.Pressing the week buttton will remove it on the screen.

Removing a single event which is part of a recurring eventlist works fine.
It seems to be i’m the only person having this problem. So maybe someone can help me or put me in the right direction.

If i do not enable recurring, deleting single events work fine.

The debug on the client side looks like

row 248 marked [deleted,valid]
Initiating data sending for 248
Initiating data sending for all rows
Sending all data at once
Server url: …/events_rec.php?editing=true parameters

Server response received details
Action: deleted SID:248 TID:248
row 248 unmarked [updated,valid]

so what i did in the meantime to solve this problem,

in dhtmlxscheduler_recurring.js i changed the overrite of the update event to

(function() {
.
.
var old_update_event = scheduler.updateEvent;
scheduler.updateEvent = function(id) {
old_update_event.call(this, id);

	var ev = scheduler.getEvent(id);
	if(ev.rec_type){
		//rec_type can be changed without the lightbox,
		// make sure rec_pattern updated as well
		ev.rec_pattern = (ev.rec_type || "").split("#")[0];
	}
	if (ev && ev.rec_type && id.toString().indexOf('#') === -1) {
		scheduler.update_view();
	}
};

})();

so i call the old update event before doing the rest of the code. The problem is with the getEvent function if a single event is already deleted.

Hi,
do you have any errors in the console?
Please try the patch from this topic with the original unchanged source code of your scheduler:
viewtopic.php?f=6&t=34486&p=110609#p110609

thanks,
so far no problem, but i’ll take your solution.