{"action":"created","comment":{"url":"https://api.github.com/repos/fitak/fitak/pulls/comments/23562599","id":23562599,"diff_hunk":"@@ -17,4 +17,9 @@ $(document).ready(function() {\n \t\tadvSearch.slideToggle(0);\n \t\treturn false;\n \t});\n+\n+\t$('.invert-selection').on('click', function() {\n+\t\t$(this).parent().find('input').click();\n+\t\treturn false;\n+\t});","path":"www/js/app.js","position":8,"original_position":8,"commit_id":"fae6f070cdf053a7071a5c56db38e0ea770df6bb","original_commit_id":"fae6f070cdf053a7071a5c56db38e0ea770df6bb","user":{"login":"matyx","id":7956225,"avatar_url":"https://avatars.githubusercontent.com/u/7956225?v=3","gravatar_id":"","url":"https://api.github.com/users/matyx","html_url":"https://github.com/matyx","followers_url":"https://api.github.com/users/matyx/followers","following_url":"https://api.github.com/users/matyx/following{/other_user}","gists_url":"https://api.github.com/users/matyx/gists{/gist_id}","starred_url":"https://api.github.com/users/matyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyx/subscriptions","organizations_url":"https://api.github.com/users/matyx/orgs","repos_url":"https://api.github.com/users/matyx/repos","events_url":"https://api.github.com/users/matyx/events{/privacy}","received_events_url":"https://api.github.com/users/matyx/received_events","type":"User","site_admin":false},"body":"Souhlas, this.checked bude čistčí než klik, nicméně to cos napsal také není úplně vhodné - invertuje to všechny checkboxy ve formuláři. Myslím, že ideální by bylo obalit checkoxy prvkem s třídou selection-group a pak filtrovat jen checkboxy v tom.\r\n\r\nAd stream, všiml jsem si toho až po pull requestu :) nicméně si myslím, že typický use case je takový, že vyhledáš z homepage, zjistíš že tam máš plno nezajímavých příspěvků, tak se rozhodneš filtrovat (se streamem je to celé další vyhledávání).\r\n\r\nPokud o to bude zájem, tak to upravím a udělám znovu pull request, pokud ne, tak díky za radu, určitě se bude hodit.\r\n\r\n","created_at":"2015-01-26T20:45:07Z","updated_at":"2015-01-26T20:45:07Z","html_url":"https://github.com/fitak/fitak/pull/70#discussion_r23562599","pull_request_url":"https://api.github.com/repos/fitak/fitak/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/fitak/fitak/pulls/comments/23562599"},"html":{"href":"https://github.com/fitak/fitak/pull/70#discussion_r23562599"},"pull_request":{"href":"https://api.github.com/repos/fitak/fitak/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/fitak/fitak/pulls/70","id":28055087,"html_url":"https://github.com/fitak/fitak/pull/70","diff_url":"https://github.com/fitak/fitak/pull/70.diff","patch_url":"https://github.com/fitak/fitak/pull/70.patch","issue_url":"https://api.github.com/repos/fitak/fitak/issues/70","number":70,"state":"open","locked":false,"title":"Added functionality to invert group selection in search presenter","user":{"login":"matyx","id":7956225,"avatar_url":"https://avatars.githubusercontent.com/u/7956225?v=3","gravatar_id":"","url":"https://api.github.com/users/matyx","html_url":"https://github.com/matyx","followers_url":"https://api.github.com/users/matyx/followers","following_url":"https://api.github.com/users/matyx/following{/other_user}","gists_url":"https://api.github.com/users/matyx/gists{/gist_id}","starred_url":"https://api.github.com/users/matyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyx/subscriptions","organizations_url":"https://api.github.com/users/matyx/orgs","repos_url":"https://api.github.com/users/matyx/repos","events_url":"https://api.github.com/users/matyx/events{/privacy}","received_events_url":"https://api.github.com/users/matyx/received_events","type":"User","site_admin":false},"body":"Zdarec,\r\npřidal jsem tam klikátko na invert checkboxů ve výběru skupin u vyhledávání - je fakt otravný odklikávat N - 1 checkboxů pokud chci jen jednu skupinu.\r\n\r\n","created_at":"2015-01-26T19:55:36Z","updated_at":"2015-01-26T20:45:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f2ce034baf64153711e193bef6b51a333cc05ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fitak/fitak/pulls/70/commits","review_comments_url":"https://api.github.com/repos/fitak/fitak/pulls/70/comments","review_comment_url":"https://api.github.com/repos/fitak/fitak/pulls/comments/{number}","comments_url":"https://api.github.com/repos/fitak/fitak/issues/70/comments","statuses_url":"https://api.github.com/repos/fitak/fitak/statuses/fae6f070cdf053a7071a5c56db38e0ea770df6bb","head":{"label":"matyx:invert-group-selection","ref":"invert-group-selection","sha":"fae6f070cdf053a7071a5c56db38e0ea770df6bb","user":{"login":"matyx","id":7956225,"avatar_url":"https://avatars.githubusercontent.com/u/7956225?v=3","gravatar_id":"","url":"https://api.github.com/users/matyx","html_url":"https://github.com/matyx","followers_url":"https://api.github.com/users/matyx/followers","following_url":"https://api.github.com/users/matyx/following{/other_user}","gists_url":"https://api.github.com/users/matyx/gists{/gist_id}","starred_url":"https://api.github.com/users/matyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyx/subscriptions","organizations_url":"https://api.github.com/users/matyx/orgs","repos_url":"https://api.github.com/users/matyx/repos","events_url":"https://api.github.com/users/matyx/events{/privacy}","received_events_url":"https://api.github.com/users/matyx/received_events","type":"User","site_admin":false},"repo":{"id":29878383,"name":"fitak","full_name":"matyx/fitak","owner":{"login":"matyx","id":7956225,"avatar_url":"https://avatars.githubusercontent.com/u/7956225?v=3","gravatar_id":"","url":"https://api.github.com/users/matyx","html_url":"https://github.com/matyx","followers_url":"https://api.github.com/users/matyx/followers","following_url":"https://api.github.com/users/matyx/following{/other_user}","gists_url":"https://api.github.com/users/matyx/gists{/gist_id}","starred_url":"https://api.github.com/users/matyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyx/subscriptions","organizations_url":"https://api.github.com/users/matyx/orgs","repos_url":"https://api.github.com/users/matyx/repos","events_url":"https://api.github.com/users/matyx/events{/privacy}","received_events_url":"https://api.github.com/users/matyx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matyx/fitak","description":"Web tool for downloading data from Facebook groups. Search engine included. ","fork":true,"url":"https://api.github.com/repos/matyx/fitak","forks_url":"https://api.github.com/repos/matyx/fitak/forks","keys_url":"https://api.github.com/repos/matyx/fitak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matyx/fitak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matyx/fitak/teams","hooks_url":"https://api.github.com/repos/matyx/fitak/hooks","issue_events_url":"https://api.github.com/repos/matyx/fitak/issues/events{/number}","events_url":"https://api.github.com/repos/matyx/fitak/events","assignees_url":"https://api.github.com/repos/matyx/fitak/assignees{/user}","branches_url":"https://api.github.com/repos/matyx/fitak/branches{/branch}","tags_url":"https://api.github.com/repos/matyx/fitak/tags","blobs_url":"https://api.github.com/repos/matyx/fitak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matyx/fitak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matyx/fitak/git/refs{/sha}","trees_url":"https://api.github.com/repos/matyx/fitak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matyx/fitak/statuses/{sha}","languages_url":"https://api.github.com/repos/matyx/fitak/languages","stargazers_url":"https://api.github.com/repos/matyx/fitak/stargazers","contributors_url":"https://api.github.com/repos/matyx/fitak/contributors","subscribers_url":"https://api.github.com/repos/matyx/fitak/subscribers","subscription_url":"https://api.github.com/repos/matyx/fitak/subscription","commits_url":"https://api.github.com/repos/matyx/fitak/commits{/sha}","git_commits_url":"https://api.github.com/repos/matyx/fitak/git/commits{/sha}","comments_url":"https://api.github.com/repos/matyx/fitak/comments{/number}","issue_comment_url":"https://api.github.com/repos/matyx/fitak/issues/comments/{number}","contents_url":"https://api.github.com/repos/matyx/fitak/contents/{+path}","compare_url":"https://api.github.com/repos/matyx/fitak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matyx/fitak/merges","archive_url":"https://api.github.com/repos/matyx/fitak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matyx/fitak/downloads","issues_url":"https://api.github.com/repos/matyx/fitak/issues{/number}","pulls_url":"https://api.github.com/repos/matyx/fitak/pulls{/number}","milestones_url":"https://api.github.com/repos/matyx/fitak/milestones{/number}","notifications_url":"https://api.github.com/repos/matyx/fitak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matyx/fitak/labels{/name}","releases_url":"https://api.github.com/repos/matyx/fitak/releases{/id}","created_at":"2015-01-26T19:47:47Z","updated_at":"2015-01-26T19:47:47Z","pushed_at":"2015-01-26T19:53:30Z","git_url":"git://github.com/matyx/fitak.git","ssh_url":"git@github.com:matyx/fitak.git","clone_url":"https://github.com/matyx/fitak.git","svn_url":"https://github.com/matyx/fitak","homepage":"http://www.fitak.cz","size":8977,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"dev"}},"base":{"label":"fitak:dev","ref":"dev","sha":"c5a24a611144af99056655b700c224793279dc80","user":{"login":"fitak","id":5104309,"avatar_url":"https://avatars.githubusercontent.com/u/5104309?v=3","gravatar_id":"","url":"https://api.github.com/users/fitak","html_url":"https://github.com/fitak","followers_url":"https://api.github.com/users/fitak/followers","following_url":"https://api.github.com/users/fitak/following{/other_user}","gists_url":"https://api.github.com/users/fitak/gists{/gist_id}","starred_url":"https://api.github.com/users/fitak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitak/subscriptions","organizations_url":"https://api.github.com/users/fitak/orgs","repos_url":"https://api.github.com/users/fitak/repos","events_url":"https://api.github.com/users/fitak/events{/privacy}","received_events_url":"https://api.github.com/users/fitak/received_events","type":"Organization","site_admin":false},"repo":{"id":4916684,"name":"fitak","full_name":"fitak/fitak","owner":{"login":"fitak","id":5104309,"avatar_url":"https://avatars.githubusercontent.com/u/5104309?v=3","gravatar_id":"","url":"https://api.github.com/users/fitak","html_url":"https://github.com/fitak","followers_url":"https://api.github.com/users/fitak/followers","following_url":"https://api.github.com/users/fitak/following{/other_user}","gists_url":"https://api.github.com/users/fitak/gists{/gist_id}","starred_url":"https://api.github.com/users/fitak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitak/subscriptions","organizations_url":"https://api.github.com/users/fitak/orgs","repos_url":"https://api.github.com/users/fitak/repos","events_url":"https://api.github.com/users/fitak/events{/privacy}","received_events_url":"https://api.github.com/users/fitak/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fitak/fitak","description":"Web tool for downloading data from Facebook groups. Search engine included. ","fork":false,"url":"https://api.github.com/repos/fitak/fitak","forks_url":"https://api.github.com/repos/fitak/fitak/forks","keys_url":"https://api.github.com/repos/fitak/fitak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fitak/fitak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fitak/fitak/teams","hooks_url":"https://api.github.com/repos/fitak/fitak/hooks","issue_events_url":"https://api.github.com/repos/fitak/fitak/issues/events{/number}","events_url":"https://api.github.com/repos/fitak/fitak/events","assignees_url":"https://api.github.com/repos/fitak/fitak/assignees{/user}","branches_url":"https://api.github.com/repos/fitak/fitak/branches{/branch}","tags_url":"https://api.github.com/repos/fitak/fitak/tags","blobs_url":"https://api.github.com/repos/fitak/fitak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fitak/fitak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fitak/fitak/git/refs{/sha}","trees_url":"https://api.github.com/repos/fitak/fitak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fitak/fitak/statuses/{sha}","languages_url":"https://api.github.com/repos/fitak/fitak/languages","stargazers_url":"https://api.github.com/repos/fitak/fitak/stargazers","contributors_url":"https://api.github.com/repos/fitak/fitak/contributors","subscribers_url":"https://api.github.com/repos/fitak/fitak/subscribers","subscription_url":"https://api.github.com/repos/fitak/fitak/subscription","commits_url":"https://api.github.com/repos/fitak/fitak/commits{/sha}","git_commits_url":"https://api.github.com/repos/fitak/fitak/git/commits{/sha}","comments_url":"https://api.github.com/repos/fitak/fitak/comments{/number}","issue_comment_url":"https://api.github.com/repos/fitak/fitak/issues/comments/{number}","contents_url":"https://api.github.com/repos/fitak/fitak/contents/{+path}","compare_url":"https://api.github.com/repos/fitak/fitak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fitak/fitak/merges","archive_url":"https://api.github.com/repos/fitak/fitak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fitak/fitak/downloads","issues_url":"https://api.github.com/repos/fitak/fitak/issues{/number}","pulls_url":"https://api.github.com/repos/fitak/fitak/pulls{/number}","milestones_url":"https://api.github.com/repos/fitak/fitak/milestones{/number}","notifications_url":"https://api.github.com/repos/fitak/fitak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fitak/fitak/labels{/name}","releases_url":"https://api.github.com/repos/fitak/fitak/releases{/id}","created_at":"2012-07-05T23:05:44Z","updated_at":"2015-01-26T04:14:48Z","pushed_at":"2014-10-25T19:16:29Z","git_url":"git://github.com/fitak/fitak.git","ssh_url":"git@github.com:fitak/fitak.git","clone_url":"https://github.com/fitak/fitak.git","svn_url":"https://github.com/fitak/fitak","homepage":"http://www.fitak.cz","size":9701,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":18,"forks":12,"open_issues":18,"watchers":24,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/fitak/fitak/pulls/70"},"html":{"href":"https://github.com/fitak/fitak/pull/70"},"issue":{"href":"https://api.github.com/repos/fitak/fitak/issues/70"},"comments":{"href":"https://api.github.com/repos/fitak/fitak/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/fitak/fitak/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/fitak/fitak/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/fitak/fitak/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/fitak/fitak/statuses/fae6f070cdf053a7071a5c56db38e0ea770df6bb"}}}}