删除的外部事件不会出现在FullCalendar ResourceViews上

时间:2013-06-07 06:45:45

标签: javascript jquery jquery-plugins fullcalendar

最近,我尝试使用名为“FullCalendar ResourceViews”(http://tux.fi/~jarnok/fullcalendar-resourceviews/)的FullCalendar分支成功。但我遇到了一个问题。实际上,当我在标签resourceWeek,resourceNextWeeks和resourceMonth上将外部事件拖到fullCalendar中时,事件不会出现在resourceDay选项卡上!

但是,当我在resourceDay选项卡上删除事件时,事件会在所有选项卡(resourceDay,resourceWeek,resourceNextWeeks和resourceMonth)上正确显示。

这是这个插件的错误吗?你有想法解决这个问题吗?

致以最诚挚的问候,

JohnDoe66

1 个答案:

答案 0 :(得分:0)

在drop回调中向event对象添加更多信息,例如:

copiedEventObject.allDay = false;
copiedEventObject.resource = arguments[4].id;
相关问题