Closed
Description
When uploading a file using IE9 the response received in the error event is always undefined. I can't get the error message received from the server.
$scope.uploadTemplate = function() {
$upload.upload({
url: '/data/kpi/upload?session_id=' + $scope.getSessionID(),
file: $scope.files[0],
paramName: 'file'
}).success(function(response) {
}
}).error(function(response, status) {
console.log('response=' + response);
//This is always undefined
});
};
In other browser it works perfectly. When the upload is successful everything goes fine. FileAPI is loading fine and also shim js. Why is the response always undefined? Am I doing something wrong?
Can you help, please?