Hi guys,
We noticed that the client-side clone() method for a SchedulerAppointment does not seem to clone the recurrence rule.
The definition of the function as we see it in your build 2013.1.220.45 is (minified)
I would have expected a line something like:
Is there a reason why the recurrence rule isn't cloned?
Cheers,
Sam
We noticed that the client-side clone() method for a SchedulerAppointment does not seem to clone the recurrence rule.
The definition of the function as we see it in your build 2013.1.220.45 is (minified)
clone:
function
(){
var
h=
new
b.SchedulerAppointment();
h._id=
this
._id;
h._subject=
this
._subject;
h._description=
this
._description;
h._start=
this
._start;
h._end=
this
._end;
h._toolTip=
this
._toolTip;
h._internalID=
this
._internalID;
h._visible=
this
._visible;
h._recurrenceState=
this
._recurrenceState;
h._recurrenceParentID=
this
._recurrenceParentID;
h._contextMenuID=
this
._contextMenuID;
h._resources=
this
.get_resources().clone();
h._attributes=
this
.get_attributes().clone();
if
(
this
.get_reminders){h._reminders=
this
.get_reminders().clone();
}
for
(
var
i
in
this
){
if
(h[i]===g&&!i.startsWith(
"_"
)){h[i]=c(
this
[i]);
}}
return
h;
}
h.set_recurrenceRule(
this
.get_recurrenceRule());
Is there a reason why the recurrence rule isn't cloned?
Cheers,
Sam