I have a lightbox that allows the user to choose between alternate apointment times. The change of time works and the database is updated, but the appointment doesn’t get updated on the scheduler.
How do I get the current appointment reloaded or the current page view reloaded after an appointment time change?
Thanks,
Ray
Here are a few details that might help. My last post was a bit vague.
I have two radio buttons on my lightbox: a preferred time and alternate time. If the user chooses alternate time, I am calling scheduler.setEventStartDate/EndDate. But the event does not update to the new date/time.
Is there a method I can call to force an event to redraw itself on the scheduler?
Thanks,
Ray
Are you using default lightbox or a custom form?
Default lightbox will save its values back to event object during closing, which will overwrite start, end dates which you have set by js api.
One of possible solution - tweak code in the set_value method of “time” form block, it can be changed to skip start, end date settings if some custom option was selected.