我的活动包括周末的部分或全部。我在月视图中显示日历。但是,我可以在一周内度过一个多天的事件就好了。
我使用以下脚本:
我的日历设为:
$('#calendar').fullCalendar({
theme: true,
defaultView: "month",
firstDay: 7,
weekends: true,
events: Controller/GetEvents
});
错误(周末)的事件数据设置为:
id: 1
title: "Kat's Test Event"
allDay: true
start: 1348902000
end: 1348988400
url: myUrl
editable: false
这会在fullcalendar.min.js中抛出"Invalid argument"
错误:
n[0].style.top = C[B.row] + (B.top || 0) + "px"
据我所知,B.top = -Infinity。
有效的事件数据(周)设置为:
id: 1
title: "Kat's Test Event"
allDay: true
start: 1348556400
end: 1348729200
url: myUrl
editable: false
有谁能告诉我如何解决这个问题?