Hi I really like the Scheduler.
I just have a small problem with deleting one occurence of a recurring event. In the attached html sample you’ll see I have these events (n.b. you’ll need to set the paths to the dhtmlxscheduler correctly in the and tags up the top)
A recurring event, occuring weekly (every friday):
start_date: ‘01-08-2011 00:00’,
end_date: ‘02-02-2037 00:00’,
A removal of one occurence on Fri 19th of August
start_date: ‘19-08-2011 00:00’,
end_date: ‘20-08-2011 00:00’,
I get the error: TypeError: ‘undefined’ is not a function (evaluating ‘scheduler.date[“transpose_”+ev.rec_pattern](td, from)’)
Seems like the repeat_date(ev,stack,non_render,from,to) function is being called for the rec_type:‘none’ event because the rec_pattern != ‘none’ when the check is made in get_visible_events, but if I explicitly set rec_pattern: ‘none’ when creating the event, the occurence on the 19th is displayed and not deleted.
Would love to know why this problem is occurring. In the sample code of dhtmlx_scheduler v3 the events are loaded via xml using the load() function and this functionality (deleting an occurence) works fine. I wonder if it is because I am loading my events using explicit scheduler.addEvent(); calls that this problem is happening.
Also timezone is GMT +10 in my setup, and GMT+11 in the working example code, not sure if that has any bearing whatsoever, but thought I might mention it just in case.
Thanks kindly in advance for any assistance.
schedule_recurr_problem.html.zip (5.03 KB)