According to the console this Ajax call to post with Firefox on some PC's in a business environment doesn't happen (240 identical installations). If I remove the location.reload();
then the Ajax post happens just fine. However, the browser doesn't refresh defeating the point of having it use Ajax.
Have I done something wrong?
select: function(start, end, allDay, jsEvent, view) {
if (userID) {
var start = moment(start).format('YYYY-MM-DD')
var end = start;
$.ajax({
type: "POST",
cache: false,
url: 'http://intakecalendar/adddate.php',
data: 'userID='+ userID + '&start=' + end //+ '&end=' + end <-- Providing the REAL end date makes it show on the wrong day
});
} //End if
location.reload();
} // end select