0
FullcalendarsのrevertFunc()でイベントドロップを手動で拒否すると、カレンダーの作成時に設定された 'dragRevertDuration'オプションが使用されていないように見えます(イベントが重複=偽の場合、例えば他のイベントでドラッグ/ドロップされる)。 'revertFunc()'を 'dragRevertDuration'と共に使用することは可能ですか?Fullcalendar revertFunc()+ dragRevertDuration
Fullcalendarドキュメント(+ dragRevertDurationプロパティ)多分あなたはドロップイベントのパラメータを勘違いしている
$('#calendar').fullCalendar({
events: [
// events here
],
editable: true,
dragRevertDuration: 1000,
eventDrop: function(event, delta, revertFunc) {
if (!confirm("Are you sure about this change?")) {
revertFunc();
}
}
});