{"action":"created","issue":{"url":"https://api.github.com/repos/nolimits4web/Framework7/issues/735","labels_url":"https://api.github.com/repos/nolimits4web/Framework7/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/nolimits4web/Framework7/issues/735/comments","events_url":"https://api.github.com/repos/nolimits4web/Framework7/issues/735/events","html_url":"https://github.com/nolimits4web/Framework7/issues/735","id":119640860,"number":735,"title":"'complete' callback is not fired on ajax error","user":{"login":"bullno1","id":335142,"avatar_url":"https://avatars.githubusercontent.com/u/335142?v=3","gravatar_id":"","url":"https://api.github.com/users/bullno1","html_url":"https://github.com/bullno1","followers_url":"https://api.github.com/users/bullno1/followers","following_url":"https://api.github.com/users/bullno1/following{/other_user}","gists_url":"https://api.github.com/users/bullno1/gists{/gist_id}","starred_url":"https://api.github.com/users/bullno1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bullno1/subscriptions","organizations_url":"https://api.github.com/users/bullno1/orgs","repos_url":"https://api.github.com/users/bullno1/repos","events_url":"https://api.github.com/users/bullno1/events{/privacy}","received_events_url":"https://api.github.com/users/bullno1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-01T04:40:53Z","updated_at":"2015-12-02T18:15:34Z","closed_at":"2015-12-02T18:15:34Z","body":"It should be fired [here](https://github.com/nolimits4web/Framework7/blob/master/src/js/dom7-ajax.js#L237) and maybe [here](https://github.com/nolimits4web/Framework7/blob/master/src/js/dom7-ajax.js#L99) too."},"comment":{"url":"https://api.github.com/repos/nolimits4web/Framework7/issues/comments/161386804","html_url":"https://github.com/nolimits4web/Framework7/issues/735#issuecomment-161386804","issue_url":"https://api.github.com/repos/nolimits4web/Framework7/issues/735","id":161386804,"user":{"login":"nolimits4web","id":999588,"avatar_url":"https://avatars.githubusercontent.com/u/999588?v=3","gravatar_id":"","url":"https://api.github.com/users/nolimits4web","html_url":"https://github.com/nolimits4web","followers_url":"https://api.github.com/users/nolimits4web/followers","following_url":"https://api.github.com/users/nolimits4web/following{/other_user}","gists_url":"https://api.github.com/users/nolimits4web/gists{/gist_id}","starred_url":"https://api.github.com/users/nolimits4web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolimits4web/subscriptions","organizations_url":"https://api.github.com/users/nolimits4web/orgs","repos_url":"https://api.github.com/users/nolimits4web/repos","events_url":"https://api.github.com/users/nolimits4web/events{/privacy}","received_events_url":"https://api.github.com/users/nolimits4web/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T18:15:34Z","updated_at":"2015-12-02T18:15:34Z","body":"The key phrase here is `when the request finishes` There are type of XHR errors when it can NOT be finished/executed/completed like No internet connection, File not found, etc. For usual errors - when server respond with error status and request is finished/completed, it will appear in `complete` callback"}}