Categories | Question details Back To List | ||
Create reccuring event with Scheduler.addevent When i try to create recurring event with scheduler.addEvent like this scheduler.addEvent({ start_date: Thu Oct 29 2009 10:30:00 GMT+0100, end_date: Mon Feb 01 9999 00:00:00 GMT+0100, text:"test", rec_type:"week_1___1,2,3,4,5#no", event_pid: 0, event_length: 3600 }); I have the error "C is undefined" in dhtmlxscheduler_recurring.js. It works great if there is not rec_type, event_pid and event_length. Thanks you for your help Answer posted by Alex (support) on Nov 18, 2009 07:09 Try to define also rec_pattern: scheduler.config.api_date = "%Y-%m-%d %H:%i"; ... scheduler.addEvent({start_date:"2009-11-18 10:30",end_date:"9999-02-01 00:00",text:"test",rec_type:"week_1___1,2,3,4,5#no", rec_pattern:"week_1___1,2,3,4,5#no",event_pid:0,event_length:3600}); |