{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/9777","repository_url":"https://api.github.com/repos/Elgg/Elgg","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/9777/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/9777/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/9777/events","html_url":"https://github.com/Elgg/Elgg/pull/9777","id":151244653,"number":9777,"title":"feature(js): elgg/Ajax users get more access to underlying resources","user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T21:34:53Z","updated_at":"2016-04-26T21:40:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Elgg/Elgg/pulls/9777","html_url":"https://github.com/Elgg/Elgg/pull/9777","diff_url":"https://github.com/Elgg/Elgg/pull/9777.diff","patch_url":"https://github.com/Elgg/Elgg/pull/9777.patch"},"body":"All success/fail/complete callbacks and Promise handlers now receive the standard jQuery arguments, including `jqXHR`, `textStatus`, and `errorThrown`.\r\n\r\nThe object passed through the `ajax_response` plugin hook (including the value and side-channel data) can now be accessed by the caller via `jqXHR.ajaxData`.\r\n\r\nThe default error handler is improved so that server-encoded messages (sent from `register_error`/`system_message`) can be displayed even on HTTP error responses. Note the API to send these type of responses has not been added (yet), but is planned."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/214896037","html_url":"https://github.com/Elgg/Elgg/pull/9777#issuecomment-214896037","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/9777","id":214896037,"user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T21:40:20Z","updated_at":"2016-04-26T21:40:20Z","body":"@hypeJunction this is (hopefully) the less controversial bit of #9776. It doesn't \"fix\" #9767, but lays the groundwork for handling errors more cleanly."}}