In IE only when sending a post request the POST information is not received by the server.
This works correctly in every other browser tested.
The code :
$.ajax({
url: '/dashboard/draft/get/data?date=' + new Date(),
type: 'post',
data: {
'draftid': $.allpro.draftid,
'iefix': true
},
cache: false,
success: function(response) {
$.allpro.draft.salary_cap = parseInt(response.data.salary_cap)
$.allpro.draft.salary_remaining = parseInt(response.data.salary_remaining)
$.allpro.draft.average_spent = response.data.average_spent
$('#salary_cap').text(response.data.salary_cap)
$('#salary_remaining').text(response.data.salary_remaining)
$('#average_spent').text(response.data.average_spent)
$.each(response.data.drafted, function(_i, _v){
if (_v.playerid == "0") {
var id = _v.teamid
var is_team = 1
} else {
var id = _v.playerid
var is_team = 0
}
$.allpro.draft.playerOptions.queue_add(
id,
is_team,
_v.position
)
})
set_requirements(response.data.requirements)
}
})
Doing a var_dump
on both $_REQUEST
and $_POST
show nothing was received.
I've researched this and found many of topics describing a similar issue but none provide a fix ... and as you can see I've already tried to add an additional post field, cache bust and disabling the cache with nothing fixing the problem.
Thanks!
Changing this a GET fixes the problem at hand ... but the issue still exists if someone can find a fix.