【发布时间】:2015-01-25 05:13:12
【问题描述】:
我正在尝试为我的客户平台使用 fullCalendar 插件,但我在活动标题上遇到了一个大问题……日历没有显示!
Here you can see the error page image
这里是我的 JS 代码
$(document).ready(function(){
$('#calendar').fullCalendar({
editable: true,
events: {
title: 'My Event Title',
url: '/crud/bussiness/customers/json/{{$id}}',
color: 'yellow',
textColor: 'black'
},
selectable: true,
selectHelper: true,
select: function() {
$("#add_booking_modal").trigger("click");
}
});
});
这里是我的带有 JSON 操作的控制器代码
if( $acc == 'json' ){
return \CompanyBussiness::getCustomers($id);
}
//CompanyBussiness is the model where Im declarating the getCustomers method for show the events
我需要修复它,因为我必须在下周展示这个平台。
请有人帮助我。
谢谢!!
【问题讨论】:
标签: jquery events laravel fullcalendar title