You need to call status.success()
or status.error()
to complete the background job properly
so something like:
success: function(httpResponse) {
status.success(httpResponse.text);
},
error: function(httpResponse) {
status.error('Request failed with response code ' + httpResponse.status);
console.error('Request failed with response code ' + httpResponse.status);
}
see: http://blog.parse.com/2013/09/04/introducing-background-jobs/
Hope it helps