{"action":"created","comment":{"url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments/25885491","id":25885491,"diff_hunk":"@@ -14,7 +14,7 @@ module.exports = function() {\n             xhr.url += $.param(xhr.data);\n             delete xhr.data;\n         }\n-        if (xhr) {\n+        if (xhr && !(xhr.headers instanceof Object && Object.isFrozen(xhr.headers))) {","path":"src/UI/jQuery/jquery.ajax.js","position":5,"original_position":5,"commit_id":"05aaa1a63c955f372b055e82ba80e0f58cd8b48b","original_commit_id":"05aaa1a63c955f372b055e82ba80e0f58cd8b48b","user":{"login":"larsjohnsen","id":1748521,"avatar_url":"https://avatars.githubusercontent.com/u/1748521?v=3","gravatar_id":"","url":"https://api.github.com/users/larsjohnsen","html_url":"https://github.com/larsjohnsen","followers_url":"https://api.github.com/users/larsjohnsen/followers","following_url":"https://api.github.com/users/larsjohnsen/following{/other_user}","gists_url":"https://api.github.com/users/larsjohnsen/gists{/gist_id}","starred_url":"https://api.github.com/users/larsjohnsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsjohnsen/subscriptions","organizations_url":"https://api.github.com/users/larsjohnsen/orgs","repos_url":"https://api.github.com/users/larsjohnsen/repos","events_url":"https://api.github.com/users/larsjohnsen/events{/privacy}","received_events_url":"https://api.github.com/users/larsjohnsen/received_events","type":"User","site_admin":false},"body":"It's likely better to create an alternative ajax function, such as $.ajaxOriginal(), for these cases.","created_at":"2015-03-05T17:58:39Z","updated_at":"2015-03-05T17:58:39Z","html_url":"https://github.com/Sonarr/Sonarr/pull/220#discussion_r25885491","pull_request_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220","_links":{"self":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments/25885491"},"html":{"href":"https://github.com/Sonarr/Sonarr/pull/220#discussion_r25885491"},"pull_request":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220"}}},"pull_request":{"url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220","id":30561922,"html_url":"https://github.com/Sonarr/Sonarr/pull/220","diff_url":"https://github.com/Sonarr/Sonarr/pull/220.diff","patch_url":"https://github.com/Sonarr/Sonarr/pull/220.patch","issue_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/220","number":220,"state":"open","locked":false,"title":" Pushbullet: Retrieval of device ids","user":{"login":"larsjohnsen","id":1748521,"avatar_url":"https://avatars.githubusercontent.com/u/1748521?v=3","gravatar_id":"","url":"https://api.github.com/users/larsjohnsen","html_url":"https://github.com/larsjohnsen","followers_url":"https://api.github.com/users/larsjohnsen/followers","following_url":"https://api.github.com/users/larsjohnsen/following{/other_user}","gists_url":"https://api.github.com/users/larsjohnsen/gists{/gist_id}","starred_url":"https://api.github.com/users/larsjohnsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsjohnsen/subscriptions","organizations_url":"https://api.github.com/users/larsjohnsen/orgs","repos_url":"https://api.github.com/users/larsjohnsen/repos","events_url":"https://api.github.com/users/larsjohnsen/events{/privacy}","received_events_url":"https://api.github.com/users/larsjohnsen/received_events","type":"User","site_admin":false},"body":"This populates a list with device ids, and automatically sets its value in the \"device id\" field.\r\n\r\nProbably hack-ish. I was also unsure on how to integrate with the internal messaging system.\r\n\r\nThe user should probably be notified that a access token (in field API key) must be inserted first.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1748521/6506855/31bc7e46-c34e-11e4-9256-2d907b6875bb.png)\r\n","created_at":"2015-03-05T14:43:28Z","updated_at":"2015-03-05T17:58:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e602ddfd4f2b1936cc4959e33c7a1a23c5bb67ff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220/commits","review_comments_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220/comments","review_comment_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/220/comments","statuses_url":"https://api.github.com/repos/Sonarr/Sonarr/statuses/05aaa1a63c955f372b055e82ba80e0f58cd8b48b","head":{"label":"larsjohnsen:feature-pushbullet","ref":"feature-pushbullet","sha":"05aaa1a63c955f372b055e82ba80e0f58cd8b48b","user":{"login":"larsjohnsen","id":1748521,"avatar_url":"https://avatars.githubusercontent.com/u/1748521?v=3","gravatar_id":"","url":"https://api.github.com/users/larsjohnsen","html_url":"https://github.com/larsjohnsen","followers_url":"https://api.github.com/users/larsjohnsen/followers","following_url":"https://api.github.com/users/larsjohnsen/following{/other_user}","gists_url":"https://api.github.com/users/larsjohnsen/gists{/gist_id}","starred_url":"https://api.github.com/users/larsjohnsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsjohnsen/subscriptions","organizations_url":"https://api.github.com/users/larsjohnsen/orgs","repos_url":"https://api.github.com/users/larsjohnsen/repos","events_url":"https://api.github.com/users/larsjohnsen/events{/privacy}","received_events_url":"https://api.github.com/users/larsjohnsen/received_events","type":"User","site_admin":false},"repo":{"id":30850701,"name":"Sonarr","full_name":"larsjohnsen/Sonarr","owner":{"login":"larsjohnsen","id":1748521,"avatar_url":"https://avatars.githubusercontent.com/u/1748521?v=3","gravatar_id":"","url":"https://api.github.com/users/larsjohnsen","html_url":"https://github.com/larsjohnsen","followers_url":"https://api.github.com/users/larsjohnsen/followers","following_url":"https://api.github.com/users/larsjohnsen/following{/other_user}","gists_url":"https://api.github.com/users/larsjohnsen/gists{/gist_id}","starred_url":"https://api.github.com/users/larsjohnsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsjohnsen/subscriptions","organizations_url":"https://api.github.com/users/larsjohnsen/orgs","repos_url":"https://api.github.com/users/larsjohnsen/repos","events_url":"https://api.github.com/users/larsjohnsen/events{/privacy}","received_events_url":"https://api.github.com/users/larsjohnsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larsjohnsen/Sonarr","description":"Smart PVR for newsgroup and bittorrent users.","fork":true,"url":"https://api.github.com/repos/larsjohnsen/Sonarr","forks_url":"https://api.github.com/repos/larsjohnsen/Sonarr/forks","keys_url":"https://api.github.com/repos/larsjohnsen/Sonarr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larsjohnsen/Sonarr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larsjohnsen/Sonarr/teams","hooks_url":"https://api.github.com/repos/larsjohnsen/Sonarr/hooks","issue_events_url":"https://api.github.com/repos/larsjohnsen/Sonarr/issues/events{/number}","events_url":"https://api.github.com/repos/larsjohnsen/Sonarr/events","assignees_url":"https://api.github.com/repos/larsjohnsen/Sonarr/assignees{/user}","branches_url":"https://api.github.com/repos/larsjohnsen/Sonarr/branches{/branch}","tags_url":"https://api.github.com/repos/larsjohnsen/Sonarr/tags","blobs_url":"https://api.github.com/repos/larsjohnsen/Sonarr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larsjohnsen/Sonarr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larsjohnsen/Sonarr/git/refs{/sha}","trees_url":"https://api.github.com/repos/larsjohnsen/Sonarr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larsjohnsen/Sonarr/statuses/{sha}","languages_url":"https://api.github.com/repos/larsjohnsen/Sonarr/languages","stargazers_url":"https://api.github.com/repos/larsjohnsen/Sonarr/stargazers","contributors_url":"https://api.github.com/repos/larsjohnsen/Sonarr/contributors","subscribers_url":"https://api.github.com/repos/larsjohnsen/Sonarr/subscribers","subscription_url":"https://api.github.com/repos/larsjohnsen/Sonarr/subscription","commits_url":"https://api.github.com/repos/larsjohnsen/Sonarr/commits{/sha}","git_commits_url":"https://api.github.com/repos/larsjohnsen/Sonarr/git/commits{/sha}","comments_url":"https://api.github.com/repos/larsjohnsen/Sonarr/comments{/number}","issue_comment_url":"https://api.github.com/repos/larsjohnsen/Sonarr/issues/comments{/number}","contents_url":"https://api.github.com/repos/larsjohnsen/Sonarr/contents/{+path}","compare_url":"https://api.github.com/repos/larsjohnsen/Sonarr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larsjohnsen/Sonarr/merges","archive_url":"https://api.github.com/repos/larsjohnsen/Sonarr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larsjohnsen/Sonarr/downloads","issues_url":"https://api.github.com/repos/larsjohnsen/Sonarr/issues{/number}","pulls_url":"https://api.github.com/repos/larsjohnsen/Sonarr/pulls{/number}","milestones_url":"https://api.github.com/repos/larsjohnsen/Sonarr/milestones{/number}","notifications_url":"https://api.github.com/repos/larsjohnsen/Sonarr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larsjohnsen/Sonarr/labels{/name}","releases_url":"https://api.github.com/repos/larsjohnsen/Sonarr/releases{/id}","created_at":"2015-02-16T02:25:32Z","updated_at":"2015-02-27T07:08:57Z","pushed_at":"2015-03-05T17:51:47Z","git_url":"git://github.com/larsjohnsen/Sonarr.git","ssh_url":"git@github.com:larsjohnsen/Sonarr.git","clone_url":"https://github.com/larsjohnsen/Sonarr.git","svn_url":"https://github.com/larsjohnsen/Sonarr","homepage":"https://sonarr.tv","size":192428,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Sonarr:develop","ref":"develop","sha":"f021f9b1463c8a866aeca1a0771d9af9b408643e","user":{"login":"Sonarr","id":1082903,"avatar_url":"https://avatars.githubusercontent.com/u/1082903?v=3","gravatar_id":"","url":"https://api.github.com/users/Sonarr","html_url":"https://github.com/Sonarr","followers_url":"https://api.github.com/users/Sonarr/followers","following_url":"https://api.github.com/users/Sonarr/following{/other_user}","gists_url":"https://api.github.com/users/Sonarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonarr/subscriptions","organizations_url":"https://api.github.com/users/Sonarr/orgs","repos_url":"https://api.github.com/users/Sonarr/repos","events_url":"https://api.github.com/users/Sonarr/events{/privacy}","received_events_url":"https://api.github.com/users/Sonarr/received_events","type":"Organization","site_admin":false},"repo":{"id":2465723,"name":"Sonarr","full_name":"Sonarr/Sonarr","owner":{"login":"Sonarr","id":1082903,"avatar_url":"https://avatars.githubusercontent.com/u/1082903?v=3","gravatar_id":"","url":"https://api.github.com/users/Sonarr","html_url":"https://github.com/Sonarr","followers_url":"https://api.github.com/users/Sonarr/followers","following_url":"https://api.github.com/users/Sonarr/following{/other_user}","gists_url":"https://api.github.com/users/Sonarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonarr/subscriptions","organizations_url":"https://api.github.com/users/Sonarr/orgs","repos_url":"https://api.github.com/users/Sonarr/repos","events_url":"https://api.github.com/users/Sonarr/events{/privacy}","received_events_url":"https://api.github.com/users/Sonarr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sonarr/Sonarr","description":"Smart PVR for newsgroup and bittorrent users.","fork":false,"url":"https://api.github.com/repos/Sonarr/Sonarr","forks_url":"https://api.github.com/repos/Sonarr/Sonarr/forks","keys_url":"https://api.github.com/repos/Sonarr/Sonarr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sonarr/Sonarr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sonarr/Sonarr/teams","hooks_url":"https://api.github.com/repos/Sonarr/Sonarr/hooks","issue_events_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/events{/number}","events_url":"https://api.github.com/repos/Sonarr/Sonarr/events","assignees_url":"https://api.github.com/repos/Sonarr/Sonarr/assignees{/user}","branches_url":"https://api.github.com/repos/Sonarr/Sonarr/branches{/branch}","tags_url":"https://api.github.com/repos/Sonarr/Sonarr/tags","blobs_url":"https://api.github.com/repos/Sonarr/Sonarr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sonarr/Sonarr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sonarr/Sonarr/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sonarr/Sonarr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sonarr/Sonarr/statuses/{sha}","languages_url":"https://api.github.com/repos/Sonarr/Sonarr/languages","stargazers_url":"https://api.github.com/repos/Sonarr/Sonarr/stargazers","contributors_url":"https://api.github.com/repos/Sonarr/Sonarr/contributors","subscribers_url":"https://api.github.com/repos/Sonarr/Sonarr/subscribers","subscription_url":"https://api.github.com/repos/Sonarr/Sonarr/subscription","commits_url":"https://api.github.com/repos/Sonarr/Sonarr/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sonarr/Sonarr/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sonarr/Sonarr/contents/{+path}","compare_url":"https://api.github.com/repos/Sonarr/Sonarr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sonarr/Sonarr/merges","archive_url":"https://api.github.com/repos/Sonarr/Sonarr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sonarr/Sonarr/downloads","issues_url":"https://api.github.com/repos/Sonarr/Sonarr/issues{/number}","pulls_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls{/number}","milestones_url":"https://api.github.com/repos/Sonarr/Sonarr/milestones{/number}","notifications_url":"https://api.github.com/repos/Sonarr/Sonarr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sonarr/Sonarr/labels{/name}","releases_url":"https://api.github.com/repos/Sonarr/Sonarr/releases{/id}","created_at":"2011-09-27T05:57:16Z","updated_at":"2015-03-05T17:48:52Z","pushed_at":"2015-03-05T08:22:54Z","git_url":"git://github.com/Sonarr/Sonarr.git","ssh_url":"git@github.com:Sonarr/Sonarr.git","clone_url":"https://github.com/Sonarr/Sonarr.git","svn_url":"https://github.com/Sonarr/Sonarr","homepage":"https://sonarr.tv","size":216329,"stargazers_count":465,"watchers_count":465,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":15,"forks":138,"open_issues":15,"watchers":465,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220"},"html":{"href":"https://github.com/Sonarr/Sonarr/pull/220"},"issue":{"href":"https://api.github.com/repos/Sonarr/Sonarr/issues/220"},"comments":{"href":"https://api.github.com/repos/Sonarr/Sonarr/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/Sonarr/Sonarr/statuses/05aaa1a63c955f372b055e82ba80e0f58cd8b48b"}}}}