Hi All,
I’ve attached a function to the “onEventSave” event to do some custom processing after the user clicks Save on the delivered lightbox event window. However, the lightbox now stays up and does not close/hide. I’ve tried the “endLightbox” command to no avail. What am I missing? Again, this is not a custom form. My code is below:
scheduler.attachEvent(“onEventSave”,function(id){
var descr = scheduler.formSection(“description”).getValue();
var data = {};
scheduler.formSection(“time”).getValue(data);
var startdt = data.start_date;
var enddt = data.end_date;
// custom processing code
// this command does not hide the lightbox!!!
scheduler.endLightbox(true);
});
Thanks