Dan and Team,
I'm in the process of converting over to manual recurrent events ( as previous postings will concur )...
I can create many standalone events by storing the relevant values..
I am happy to move the events, delete individual events or delete series of events..
I would also like to allow the users to edit the recurring events and subsequently the recurring rule using the inbuilt support AND the manual events ..
The javascript supplied (see below), uses the not e.recurrent method to allow the users to display to edit the event or the whole series of events...
function setRecurringBooking(e) {
// it's a normal event
if (!e.recurrent()) {
edit(e);
//alert("it's a normal event!");
return;
}
// it's a recurrent event but it's an exception from the series
if (e.value() !== null) {
edit(e);
//alert("it's a recurrent event and exception from the series!");
return;
}
var modal = new DayPilot.Modal();
modal.top = 150;
modal.width = 300;
modal.height = 150;
modal.opacity = 0;
modal.border = "10px solid #d0d0d0";
modal.closed = function () {
if (this.result != "cancel") {
//alert('result: ' + this.result);
edit(e, this.result);
}
};
modal.showUrl("RecurrentEditMode.html");
}
As my implementation doesn't use the e.recurrent method - how can I modify my code to set the e.recurrent value?
Please advise.
Thanks
Dave/mrplatypus