{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/46704930","id":46704930,"diff_hunk":"@@ -195,4 +195,12 @@ Requires core.js, SelectBox.js and addevent.js.\n         }\n     };\n \n+    addEvent(window, \"load\", function(e) {","path":"django/contrib/admin/static/admin/js/SelectFilter2.js","position":32,"original_position":32,"commit_id":"419d40e56291546ea2f01222df72693de6f82de4","original_commit_id":"419d40e56291546ea2f01222df72693de6f82de4","user":{"login":"timgraham","id":411869,"avatar_url":"https://avatars.githubusercontent.com/u/411869?v=3","gravatar_id":"","url":"https://api.github.com/users/timgraham","html_url":"https://github.com/timgraham","followers_url":"https://api.github.com/users/timgraham/followers","following_url":"https://api.github.com/users/timgraham/following{/other_user}","gists_url":"https://api.github.com/users/timgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/timgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgraham/subscriptions","organizations_url":"https://api.github.com/users/timgraham/orgs","repos_url":"https://api.github.com/users/timgraham/repos","events_url":"https://api.github.com/users/timgraham/events{/privacy}","received_events_url":"https://api.github.com/users/timgraham/received_events","type":"User","site_admin":false},"body":"It can be done in a later ticket.","created_at":"2015-12-04T17:05:05Z","updated_at":"2015-12-04T17:05:05Z","html_url":"https://github.com/django/django/pull/5567#discussion_r46704930","pull_request_url":"https://api.github.com/repos/django/django/pulls/5567","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/46704930"},"html":{"href":"https://github.com/django/django/pull/5567#discussion_r46704930"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/5567"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/5567","id":50033356,"html_url":"https://github.com/django/django/pull/5567","diff_url":"https://github.com/django/django/pull/5567.diff","patch_url":"https://github.com/django/django/pull/5567.patch","issue_url":"https://api.github.com/repos/django/django/issues/5567","number":5567,"state":"open","locked":false,"title":"Fixed #25165 -- Removed all inline javascript from contrib.admin","user":{"login":"graingert","id":413772,"avatar_url":"https://avatars.githubusercontent.com/u/413772?v=3","gravatar_id":"","url":"https://api.github.com/users/graingert","html_url":"https://github.com/graingert","followers_url":"https://api.github.com/users/graingert/followers","following_url":"https://api.github.com/users/graingert/following{/other_user}","gists_url":"https://api.github.com/users/graingert/gists{/gist_id}","starred_url":"https://api.github.com/users/graingert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graingert/subscriptions","organizations_url":"https://api.github.com/users/graingert/orgs","repos_url":"https://api.github.com/users/graingert/repos","events_url":"https://api.github.com/users/graingert/events{/privacy}","received_events_url":"https://api.github.com/users/graingert/received_events","type":"User","site_admin":false},"body":"Refactored the admin app to no longer rely on inline javascript.\nInstead data is passed to javascript via json.\nAll javascript is in external files.\nSome inline javascript around autofocusing inputs was removed\ncompletly in favour of HTML5 autofocus attribute","created_at":"2015-11-07T10:41:53Z","updated_at":"2015-12-04T17:05:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f0315ae3275cafa58440113c11c49265591037c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/5567/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/5567/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/5567/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/419d40e56291546ea2f01222df72693de6f82de4","head":{"label":"graingert:csp-remove-inline","ref":"csp-remove-inline","sha":"419d40e56291546ea2f01222df72693de6f82de4","user":{"login":"graingert","id":413772,"avatar_url":"https://avatars.githubusercontent.com/u/413772?v=3","gravatar_id":"","url":"https://api.github.com/users/graingert","html_url":"https://github.com/graingert","followers_url":"https://api.github.com/users/graingert/followers","following_url":"https://api.github.com/users/graingert/following{/other_user}","gists_url":"https://api.github.com/users/graingert/gists{/gist_id}","starred_url":"https://api.github.com/users/graingert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graingert/subscriptions","organizations_url":"https://api.github.com/users/graingert/orgs","repos_url":"https://api.github.com/users/graingert/repos","events_url":"https://api.github.com/users/graingert/events{/privacy}","received_events_url":"https://api.github.com/users/graingert/received_events","type":"User","site_admin":false},"repo":{"id":4858266,"name":"django","full_name":"graingert/django","owner":{"login":"graingert","id":413772,"avatar_url":"https://avatars.githubusercontent.com/u/413772?v=3","gravatar_id":"","url":"https://api.github.com/users/graingert","html_url":"https://github.com/graingert","followers_url":"https://api.github.com/users/graingert/followers","following_url":"https://api.github.com/users/graingert/following{/other_user}","gists_url":"https://api.github.com/users/graingert/gists{/gist_id}","starred_url":"https://api.github.com/users/graingert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graingert/subscriptions","organizations_url":"https://api.github.com/users/graingert/orgs","repos_url":"https://api.github.com/users/graingert/repos","events_url":"https://api.github.com/users/graingert/events{/privacy}","received_events_url":"https://api.github.com/users/graingert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/graingert/django","description":"The Web framework for perfectionists with deadlines. Now on GitHub.","fork":true,"url":"https://api.github.com/repos/graingert/django","forks_url":"https://api.github.com/repos/graingert/django/forks","keys_url":"https://api.github.com/repos/graingert/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graingert/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graingert/django/teams","hooks_url":"https://api.github.com/repos/graingert/django/hooks","issue_events_url":"https://api.github.com/repos/graingert/django/issues/events{/number}","events_url":"https://api.github.com/repos/graingert/django/events","assignees_url":"https://api.github.com/repos/graingert/django/assignees{/user}","branches_url":"https://api.github.com/repos/graingert/django/branches{/branch}","tags_url":"https://api.github.com/repos/graingert/django/tags","blobs_url":"https://api.github.com/repos/graingert/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graingert/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graingert/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/graingert/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graingert/django/statuses/{sha}","languages_url":"https://api.github.com/repos/graingert/django/languages","stargazers_url":"https://api.github.com/repos/graingert/django/stargazers","contributors_url":"https://api.github.com/repos/graingert/django/contributors","subscribers_url":"https://api.github.com/repos/graingert/django/subscribers","subscription_url":"https://api.github.com/repos/graingert/django/subscription","commits_url":"https://api.github.com/repos/graingert/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/graingert/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/graingert/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/graingert/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/graingert/django/contents/{+path}","compare_url":"https://api.github.com/repos/graingert/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graingert/django/merges","archive_url":"https://api.github.com/repos/graingert/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graingert/django/downloads","issues_url":"https://api.github.com/repos/graingert/django/issues{/number}","pulls_url":"https://api.github.com/repos/graingert/django/pulls{/number}","milestones_url":"https://api.github.com/repos/graingert/django/milestones{/number}","notifications_url":"https://api.github.com/repos/graingert/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graingert/django/labels{/name}","releases_url":"https://api.github.com/repos/graingert/django/releases{/id}","created_at":"2012-07-02T09:58:22Z","updated_at":"2015-03-10T00:44:55Z","pushed_at":"2015-12-03T17:42:12Z","git_url":"git://github.com/graingert/django.git","ssh_url":"git@github.com:graingert/django.git","clone_url":"https://github.com/graingert/django.git","svn_url":"https://github.com/graingert/django","homepage":"http://www.djangoproject.com/","size":139523,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"b6dd0afead80a17d0ac8c3ba35c510afac32a0b8","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-12-04T15:55:28Z","pushed_at":"2015-12-04T16:32:50Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":177796,"stargazers_count":16952,"watchers_count":16952,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6916,"mirror_url":null,"open_issues_count":108,"forks":6916,"open_issues":108,"watchers":16952,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/5567"},"html":{"href":"https://github.com/django/django/pull/5567"},"issue":{"href":"https://api.github.com/repos/django/django/issues/5567"},"comments":{"href":"https://api.github.com/repos/django/django/issues/5567/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/5567/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/5567/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/419d40e56291546ea2f01222df72693de6f82de4"}}}}