0
カレンダーイベントを入力すると、私はpublicとpersonalのようなタイプを設定します。 そして、私がそれを得るとき、私は個人的な出来事を黄色にしたい。特定のイベントに別の色で塗りつぶしたい
I正常に入力し、そこに問題があると私は次のエラーメッセージを取得着色しばらく:
url : callCalendar is that Home Controller's method for get all Schedule List.
を開始する場所を私は知りませんが。ここで
は、これまでの私のコードです:
displayEventTime: true,
eventLimit : true,
selectable: true,
selectHelper: true,
events: function(start, end, timezone, callback) {
alert("entering events function");
var event = new Array();
$.ajax({
url : 'callCalendar',
data : {
String : 'ss'
},
success : function(response){
for (var i = 0; i < response.length; i++) {
event.push({
title : response[i].title,
start : response[i].start_date,
})
if(response[i].type=='personal'){
alert("Type = personal");
color: 'yellow'
}
color: 'yellow'
}
color: 'yellow'
callback(event);
}
});
color: 'yellow'
},