problem with ical

in my ical format i am getting this error in my error console Error: D is undefined
Source File: localhost:8080/ems/scripts/calen … rialize.js
Line: 61 …i am putting this function…in my script,

function toICal() {

var ical_string = scheduler.toICal();


Existing version of iCal export will fail for recurring event’s case.
( there is a fix, but it just remove js error, export of recurring events in iCal format still not supported )