{"action":"created","comment":{"url":"https://api.github.com/repos/dwp-forge/batchedit/pulls/comments/199352589","pull_request_review_id":133457167,"id":199352589,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTM1MjU4OQ==","diff_hunk":"@@ -13,6 +13,35 @@ jQuery(function () {\n         jQuery('.match input[id^=' + this.id.replace(/:/g, '\\\\:') + ']').prop('checked', this.checked);\n     });\n \n+    // When all single matches of a file have been checked, mark the appropriate \"check all\" box as checked, too.\n+    jQuery('.check-single-match').click(function(){\n+        var pageIdEscaped = this.id.substr(0, this.id.indexOf('#')).replace(/:/g, '\\\\:');\n+        var checkedAll = true;\n+        jQuery('.match input[id^=' + pageIdEscaped + ']').each(function(i, el) {\n+            checkedAll = checkedAll && jQuery(el).prop('checked');\n+            return checkedAll;\n+        });","path":"admin.js","position":11,"original_position":11,"commit_id":"6b6d89a07f3cfc26a5bc24abde4b5301ed4fa4dd","original_commit_id":"6b6d89a07f3cfc26a5bc24abde4b5301ed4fa4dd","user":{"login":"dwp-forge","id":11460562,"node_id":"MDQ6VXNlcjExNDYwNTYy","avatar_url":"https://avatars1.githubusercontent.com/u/11460562?v=4","gravatar_id":"","url":"https://api.github.com/users/dwp-forge","html_url":"https://github.com/dwp-forge","followers_url":"https://api.github.com/users/dwp-forge/followers","following_url":"https://api.github.com/users/dwp-forge/following{/other_user}","gists_url":"https://api.github.com/users/dwp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/dwp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwp-forge/subscriptions","organizations_url":"https://api.github.com/users/dwp-forge/orgs","repos_url":"https://api.github.com/users/dwp-forge/repos","events_url":"https://api.github.com/users/dwp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/dwp-forge/received_events","type":"User","site_admin":false},"body":"It's not in jQuery, which was actually a [big surprise](https://bugs.jquery.com/ticket/1886) for me. As for pure JS, you might have noticed that I removed jQuery wrapper around el in example below. Hint, hint ;)","created_at":"2018-07-01T15:16:54Z","updated_at":"2018-07-01T15:16:55Z","html_url":"https://github.com/dwp-forge/batchedit/pull/17#discussion_r199352589","pull_request_url":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/dwp-forge/batchedit/pulls/comments/199352589"},"html":{"href":"https://github.com/dwp-forge/batchedit/pull/17#discussion_r199352589"},"pull_request":{"href":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17"}},"in_reply_to_id":199342313},"pull_request":{"url":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17","id":198502047,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NTAyMDQ3","html_url":"https://github.com/dwp-forge/batchedit/pull/17","diff_url":"https://github.com/dwp-forge/batchedit/pull/17.diff","patch_url":"https://github.com/dwp-forge/batchedit/pull/17.patch","issue_url":"https://api.github.com/repos/dwp-forge/batchedit/issues/17","number":17,"state":"open","locked":false,"title":"avoid exceeding PHP 'max_input_vars' by posting only a single string …","user":{"login":"trollkotze","id":14360154,"node_id":"MDQ6VXNlcjE0MzYwMTU0","avatar_url":"https://avatars3.githubusercontent.com/u/14360154?v=4","gravatar_id":"","url":"https://api.github.com/users/trollkotze","html_url":"https://github.com/trollkotze","followers_url":"https://api.github.com/users/trollkotze/followers","following_url":"https://api.github.com/users/trollkotze/following{/other_user}","gists_url":"https://api.github.com/users/trollkotze/gists{/gist_id}","starred_url":"https://api.github.com/users/trollkotze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trollkotze/subscriptions","organizations_url":"https://api.github.com/users/trollkotze/orgs","repos_url":"https://api.github.com/users/trollkotze/repos","events_url":"https://api.github.com/users/trollkotze/events{/privacy}","received_events_url":"https://api.github.com/users/trollkotze/received_events","type":"User","site_admin":false},"body":"…of match ids;\r\n\r\nResolves #16 \r\n\r\nOther added feature:\r\nMark 'check all' box for a page when all its matches have been checked individually.\r\n\r\n\r\nI think this PR is cleaner than the last one, hopefully not requiring too much reworking. :)\r\n","created_at":"2018-07-01T01:25:22Z","updated_at":"2018-07-01T15:16:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"378a837c136a843515f3fecaf3082ff388cbba74","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17/commits","review_comments_url":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17/comments","review_comment_url":"https://api.github.com/repos/dwp-forge/batchedit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dwp-forge/batchedit/issues/17/comments","statuses_url":"https://api.github.com/repos/dwp-forge/batchedit/statuses/6b6d89a07f3cfc26a5bc24abde4b5301ed4fa4dd","head":{"label":"trollkotze:master","ref":"master","sha":"6b6d89a07f3cfc26a5bc24abde4b5301ed4fa4dd","user":{"login":"trollkotze","id":14360154,"node_id":"MDQ6VXNlcjE0MzYwMTU0","avatar_url":"https://avatars3.githubusercontent.com/u/14360154?v=4","gravatar_id":"","url":"https://api.github.com/users/trollkotze","html_url":"https://github.com/trollkotze","followers_url":"https://api.github.com/users/trollkotze/followers","following_url":"https://api.github.com/users/trollkotze/following{/other_user}","gists_url":"https://api.github.com/users/trollkotze/gists{/gist_id}","starred_url":"https://api.github.com/users/trollkotze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trollkotze/subscriptions","organizations_url":"https://api.github.com/users/trollkotze/orgs","repos_url":"https://api.github.com/users/trollkotze/repos","events_url":"https://api.github.com/users/trollkotze/events{/privacy}","received_events_url":"https://api.github.com/users/trollkotze/received_events","type":"User","site_admin":false},"repo":{"id":138364793,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgzNjQ3OTM=","name":"batchedit","full_name":"trollkotze/batchedit","owner":{"login":"trollkotze","id":14360154,"node_id":"MDQ6VXNlcjE0MzYwMTU0","avatar_url":"https://avatars3.githubusercontent.com/u/14360154?v=4","gravatar_id":"","url":"https://api.github.com/users/trollkotze","html_url":"https://github.com/trollkotze","followers_url":"https://api.github.com/users/trollkotze/followers","following_url":"https://api.github.com/users/trollkotze/following{/other_user}","gists_url":"https://api.github.com/users/trollkotze/gists{/gist_id}","starred_url":"https://api.github.com/users/trollkotze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trollkotze/subscriptions","organizations_url":"https://api.github.com/users/trollkotze/orgs","repos_url":"https://api.github.com/users/trollkotze/repos","events_url":"https://api.github.com/users/trollkotze/events{/privacy}","received_events_url":"https://api.github.com/users/trollkotze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trollkotze/batchedit","description":null,"fork":true,"url":"https://api.github.com/repos/trollkotze/batchedit","forks_url":"https://api.github.com/repos/trollkotze/batchedit/forks","keys_url":"https://api.github.com/repos/trollkotze/batchedit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trollkotze/batchedit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trollkotze/batchedit/teams","hooks_url":"https://api.github.com/repos/trollkotze/batchedit/hooks","issue_events_url":"https://api.github.com/repos/trollkotze/batchedit/issues/events{/number}","events_url":"https://api.github.com/repos/trollkotze/batchedit/events","assignees_url":"https://api.github.com/repos/trollkotze/batchedit/assignees{/user}","branches_url":"https://api.github.com/repos/trollkotze/batchedit/branches{/branch}","tags_url":"https://api.github.com/repos/trollkotze/batchedit/tags","blobs_url":"https://api.github.com/repos/trollkotze/batchedit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trollkotze/batchedit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trollkotze/batchedit/git/refs{/sha}","trees_url":"https://api.github.com/repos/trollkotze/batchedit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trollkotze/batchedit/statuses/{sha}","languages_url":"https://api.github.com/repos/trollkotze/batchedit/languages","stargazers_url":"https://api.github.com/repos/trollkotze/batchedit/stargazers","contributors_url":"https://api.github.com/repos/trollkotze/batchedit/contributors","subscribers_url":"https://api.github.com/repos/trollkotze/batchedit/subscribers","subscription_url":"https://api.github.com/repos/trollkotze/batchedit/subscription","commits_url":"https://api.github.com/repos/trollkotze/batchedit/commits{/sha}","git_commits_url":"https://api.github.com/repos/trollkotze/batchedit/git/commits{/sha}","comments_url":"https://api.github.com/repos/trollkotze/batchedit/comments{/number}","issue_comment_url":"https://api.github.com/repos/trollkotze/batchedit/issues/comments{/number}","contents_url":"https://api.github.com/repos/trollkotze/batchedit/contents/{+path}","compare_url":"https://api.github.com/repos/trollkotze/batchedit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trollkotze/batchedit/merges","archive_url":"https://api.github.com/repos/trollkotze/batchedit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trollkotze/batchedit/downloads","issues_url":"https://api.github.com/repos/trollkotze/batchedit/issues{/number}","pulls_url":"https://api.github.com/repos/trollkotze/batchedit/pulls{/number}","milestones_url":"https://api.github.com/repos/trollkotze/batchedit/milestones{/number}","notifications_url":"https://api.github.com/repos/trollkotze/batchedit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trollkotze/batchedit/labels{/name}","releases_url":"https://api.github.com/repos/trollkotze/batchedit/releases{/id}","deployments_url":"https://api.github.com/repos/trollkotze/batchedit/deployments","created_at":"2018-06-23T02:24:36Z","updated_at":"2018-07-01T01:07:27Z","pushed_at":"2018-07-01T01:07:25Z","git_url":"git://github.com/trollkotze/batchedit.git","ssh_url":"git@github.com:trollkotze/batchedit.git","clone_url":"https://github.com/trollkotze/batchedit.git","svn_url":"https://github.com/trollkotze/batchedit","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dwp-forge:master","ref":"master","sha":"aede0e504636e127ad315d42e04879e8bcca30da","user":{"login":"dwp-forge","id":11460562,"node_id":"MDQ6VXNlcjExNDYwNTYy","avatar_url":"https://avatars1.githubusercontent.com/u/11460562?v=4","gravatar_id":"","url":"https://api.github.com/users/dwp-forge","html_url":"https://github.com/dwp-forge","followers_url":"https://api.github.com/users/dwp-forge/followers","following_url":"https://api.github.com/users/dwp-forge/following{/other_user}","gists_url":"https://api.github.com/users/dwp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/dwp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwp-forge/subscriptions","organizations_url":"https://api.github.com/users/dwp-forge/orgs","repos_url":"https://api.github.com/users/dwp-forge/repos","events_url":"https://api.github.com/users/dwp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/dwp-forge/received_events","type":"User","site_admin":false},"repo":{"id":36169327,"node_id":"MDEwOlJlcG9zaXRvcnkzNjE2OTMyNw==","name":"batchedit","full_name":"dwp-forge/batchedit","owner":{"login":"dwp-forge","id":11460562,"node_id":"MDQ6VXNlcjExNDYwNTYy","avatar_url":"https://avatars1.githubusercontent.com/u/11460562?v=4","gravatar_id":"","url":"https://api.github.com/users/dwp-forge","html_url":"https://github.com/dwp-forge","followers_url":"https://api.github.com/users/dwp-forge/followers","following_url":"https://api.github.com/users/dwp-forge/following{/other_user}","gists_url":"https://api.github.com/users/dwp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/dwp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwp-forge/subscriptions","organizations_url":"https://api.github.com/users/dwp-forge/orgs","repos_url":"https://api.github.com/users/dwp-forge/repos","events_url":"https://api.github.com/users/dwp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/dwp-forge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwp-forge/batchedit","description":null,"fork":false,"url":"https://api.github.com/repos/dwp-forge/batchedit","forks_url":"https://api.github.com/repos/dwp-forge/batchedit/forks","keys_url":"https://api.github.com/repos/dwp-forge/batchedit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwp-forge/batchedit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwp-forge/batchedit/teams","hooks_url":"https://api.github.com/repos/dwp-forge/batchedit/hooks","issue_events_url":"https://api.github.com/repos/dwp-forge/batchedit/issues/events{/number}","events_url":"https://api.github.com/repos/dwp-forge/batchedit/events","assignees_url":"https://api.github.com/repos/dwp-forge/batchedit/assignees{/user}","branches_url":"https://api.github.com/repos/dwp-forge/batchedit/branches{/branch}","tags_url":"https://api.github.com/repos/dwp-forge/batchedit/tags","blobs_url":"https://api.github.com/repos/dwp-forge/batchedit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwp-forge/batchedit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwp-forge/batchedit/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwp-forge/batchedit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwp-forge/batchedit/statuses/{sha}","languages_url":"https://api.github.com/repos/dwp-forge/batchedit/languages","stargazers_url":"https://api.github.com/repos/dwp-forge/batchedit/stargazers","contributors_url":"https://api.github.com/repos/dwp-forge/batchedit/contributors","subscribers_url":"https://api.github.com/repos/dwp-forge/batchedit/subscribers","subscription_url":"https://api.github.com/repos/dwp-forge/batchedit/subscription","commits_url":"https://api.github.com/repos/dwp-forge/batchedit/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwp-forge/batchedit/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwp-forge/batchedit/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwp-forge/batchedit/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwp-forge/batchedit/contents/{+path}","compare_url":"https://api.github.com/repos/dwp-forge/batchedit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwp-forge/batchedit/merges","archive_url":"https://api.github.com/repos/dwp-forge/batchedit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwp-forge/batchedit/downloads","issues_url":"https://api.github.com/repos/dwp-forge/batchedit/issues{/number}","pulls_url":"https://api.github.com/repos/dwp-forge/batchedit/pulls{/number}","milestones_url":"https://api.github.com/repos/dwp-forge/batchedit/milestones{/number}","notifications_url":"https://api.github.com/repos/dwp-forge/batchedit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwp-forge/batchedit/labels{/name}","releases_url":"https://api.github.com/repos/dwp-forge/batchedit/releases{/id}","deployments_url":"https://api.github.com/repos/dwp-forge/batchedit/deployments","created_at":"2015-05-24T11:29:34Z","updated_at":"2018-07-01T13:48:04Z","pushed_at":"2018-07-01T13:48:01Z","git_url":"git://github.com/dwp-forge/batchedit.git","ssh_url":"git@github.com:dwp-forge/batchedit.git","clone_url":"https://github.com/dwp-forge/batchedit.git","svn_url":"https://github.com/dwp-forge/batchedit","homepage":null,"size":52,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":4,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17"},"html":{"href":"https://github.com/dwp-forge/batchedit/pull/17"},"issue":{"href":"https://api.github.com/repos/dwp-forge/batchedit/issues/17"},"comments":{"href":"https://api.github.com/repos/dwp-forge/batchedit/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/dwp-forge/batchedit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dwp-forge/batchedit/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/dwp-forge/batchedit/statuses/6b6d89a07f3cfc26a5bc24abde4b5301ed4fa4dd"}},"author_association":"NONE"}}
{"actor":{"display_login":"dwp-forge"}}