0

Basically the ajax call is made, status OK, response is returned in other browsers but in Firefox the http response isn't returned at all.

$.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']
));

enter image description here

linktoahref
  • 7,812
  • 3
  • 29
  • 51
shAkur
  • 944
  • 2
  • 21
  • 45

0 Answers0