基本上是进行了ajax调用,状态OK,在其他浏览器中返回响应,但在Firefox中,http响应根本没有返回。
$.ajax({
type : "GET",
url : 'schools_courses_calendar/'+eventId+'/associate_spot/'+spotId,
success : function(response) {
//console.log(response) logs an 'empty string'
table = $('#school_upcoming_courses').dataTable();
table.fnDraw();
$('#confirm-associate #spot_id').val('');
$('#confirm-associate #event_id').val('');
},
error : function(data) {
alert('Error!');
//console.error(data);
}
})
return \Response::json(array(
'success' => true,
'errors' => '',
'spot' => $l_aResponse['body']['spot']
));