I am looking for a function in which I can check data (as with onEventSave with the details form) in the week and day view where events can be dragged. I tried using onBeforeDrag, but that is running and causing errors when I create a new event in any view. If I use onBeforeEventChanged, it is running before I event create the event so the data being passed is incorrect.
I guess I should just disable dragging of events, but I assumed that onEventSave would be run when any kind of event manipulation was done. If I want to disable it, I would just have onBeforeDrag return false, correct?
scheduler.attachEvent("onBeforeDrag",
function (event_object, native_event, is_new) {
var event_id = event_object.id;
return data_check(event_id, event_object);
}
);