週末の一部または全部を含むイベントがあります。月表示でカレンダーを表示しています。ただし、イベントを 1 週間のうち複数日にまたがっても問題ありません。
次のスクリプトを使用しています。
- jquery-1.8.0.min.js:
- jquery-ui-1.8.23.min.js:
- fullcalendar.min.js
私のカレンダーは次のように設定されています:
$('#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
これにより"Invalid argument"
、fullcalendar.min.js の次の行でエラーがスローされます。
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
どうすればこれを修正できるか教えてもらえますか?