{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/comments/51970234","id":51970234,"diff_hunk":"@@ -469,6 +471,7 @@ function MetadataListEditingDirective(metadata, $filter) {\n                             scope.activeTree = scope.tree[null];\n                         } else {\n                             scope.terms = _.clone(scope.activeTree) || [];\n+                            scope.allSelected = (scope.item[scope.field].length === scope.list.length) ? true : false;","path":"scripts/superdesk-authoring/metadata/metadata.js","position":28,"original_position":28,"commit_id":"152d50a6b44e9abcace9b8eac280c6c4948c93b6","original_commit_id":"152d50a6b44e9abcace9b8eac280c6c4948c93b6","user":{"login":"petrjasek","id":179249,"avatar_url":"https://avatars.githubusercontent.com/u/179249?v=3","gravatar_id":"","url":"https://api.github.com/users/petrjasek","html_url":"https://github.com/petrjasek","followers_url":"https://api.github.com/users/petrjasek/followers","following_url":"https://api.github.com/users/petrjasek/following{/other_user}","gists_url":"https://api.github.com/users/petrjasek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrjasek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrjasek/subscriptions","organizations_url":"https://api.github.com/users/petrjasek/orgs","repos_url":"https://api.github.com/users/petrjasek/repos","events_url":"https://api.github.com/users/petrjasek/events{/privacy}","received_events_url":"https://api.github.com/users/petrjasek/received_events","type":"User","site_admin":false},"body":"`scope.allSelected = scope.item[scope.field].length === scope.list.length;`  should be enough","created_at":"2016-02-05T02:30:59Z","updated_at":"2016-02-05T02:30:59Z","html_url":"https://github.com/superdesk/superdesk-client-core/pull/13#discussion_r51970234","pull_request_url":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/comments/51970234"},"html":{"href":"https://github.com/superdesk/superdesk-client-core/pull/13#discussion_r51970234"},"pull_request":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13","id":58376597,"html_url":"https://github.com/superdesk/superdesk-client-core/pull/13","diff_url":"https://github.com/superdesk/superdesk-client-core/pull/13.diff","patch_url":"https://github.com/superdesk/superdesk-client-core/pull/13.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk-client-core/issues/13","number":13,"state":"open","locked":false,"title":"[sd-3986]-(fix) - Keyboard operation and focus issues in headers's me…","user":{"login":"sjunaid","id":10014395,"avatar_url":"https://avatars.githubusercontent.com/u/10014395?v=3","gravatar_id":"","url":"https://api.github.com/users/sjunaid","html_url":"https://github.com/sjunaid","followers_url":"https://api.github.com/users/sjunaid/followers","following_url":"https://api.github.com/users/sjunaid/following{/other_user}","gists_url":"https://api.github.com/users/sjunaid/gists{/gist_id}","starred_url":"https://api.github.com/users/sjunaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjunaid/subscriptions","organizations_url":"https://api.github.com/users/sjunaid/orgs","repos_url":"https://api.github.com/users/sjunaid/repos","events_url":"https://api.github.com/users/sjunaid/events{/privacy}","received_events_url":"https://api.github.com/users/sjunaid/received_events","type":"User","site_admin":false},"body":"…ta-data drop-downs","created_at":"2016-02-05T01:25:32Z","updated_at":"2016-02-05T02:30:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dec40e2b09266b0726ddbcc45fbe331ca86b1a93","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk-client-core/issues/13/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk-client-core/statuses/152d50a6b44e9abcace9b8eac280c6c4948c93b6","head":{"label":"sjunaid:sd-3986","ref":"sd-3986","sha":"152d50a6b44e9abcace9b8eac280c6c4948c93b6","user":{"login":"sjunaid","id":10014395,"avatar_url":"https://avatars.githubusercontent.com/u/10014395?v=3","gravatar_id":"","url":"https://api.github.com/users/sjunaid","html_url":"https://github.com/sjunaid","followers_url":"https://api.github.com/users/sjunaid/followers","following_url":"https://api.github.com/users/sjunaid/following{/other_user}","gists_url":"https://api.github.com/users/sjunaid/gists{/gist_id}","starred_url":"https://api.github.com/users/sjunaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjunaid/subscriptions","organizations_url":"https://api.github.com/users/sjunaid/orgs","repos_url":"https://api.github.com/users/sjunaid/repos","events_url":"https://api.github.com/users/sjunaid/events{/privacy}","received_events_url":"https://api.github.com/users/sjunaid/received_events","type":"User","site_admin":false},"repo":{"id":51117954,"name":"superdesk-client-core","full_name":"sjunaid/superdesk-client-core","owner":{"login":"sjunaid","id":10014395,"avatar_url":"https://avatars.githubusercontent.com/u/10014395?v=3","gravatar_id":"","url":"https://api.github.com/users/sjunaid","html_url":"https://github.com/sjunaid","followers_url":"https://api.github.com/users/sjunaid/followers","following_url":"https://api.github.com/users/sjunaid/following{/other_user}","gists_url":"https://api.github.com/users/sjunaid/gists{/gist_id}","starred_url":"https://api.github.com/users/sjunaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjunaid/subscriptions","organizations_url":"https://api.github.com/users/sjunaid/orgs","repos_url":"https://api.github.com/users/sjunaid/repos","events_url":"https://api.github.com/users/sjunaid/events{/privacy}","received_events_url":"https://api.github.com/users/sjunaid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjunaid/superdesk-client-core","description":"Common client modules for superdesk apps.","fork":true,"url":"https://api.github.com/repos/sjunaid/superdesk-client-core","forks_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/forks","keys_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/teams","hooks_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/hooks","issue_events_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/issues/events{/number}","events_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/events","assignees_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/assignees{/user}","branches_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/branches{/branch}","tags_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/tags","blobs_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/statuses/{sha}","languages_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/languages","stargazers_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/stargazers","contributors_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/contributors","subscribers_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/subscribers","subscription_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/subscription","commits_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/contents/{+path}","compare_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/merges","archive_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/downloads","issues_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/issues{/number}","pulls_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/pulls{/number}","milestones_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/milestones{/number}","notifications_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/labels{/name}","releases_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/releases{/id}","deployments_url":"https://api.github.com/repos/sjunaid/superdesk-client-core/deployments","created_at":"2016-02-05T01:18:11Z","updated_at":"2016-02-05T01:18:14Z","pushed_at":"2016-02-05T01:27:41Z","git_url":"git://github.com/sjunaid/superdesk-client-core.git","ssh_url":"git@github.com:sjunaid/superdesk-client-core.git","clone_url":"https://github.com/sjunaid/superdesk-client-core.git","svn_url":"https://github.com/sjunaid/superdesk-client-core","homepage":"","size":1182,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"superdesk:master","ref":"master","sha":"3e3267f54e872bfedede2b6b3a7260e1523a8c81","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":50631400,"name":"superdesk-client-core","full_name":"superdesk/superdesk-client-core","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/superdesk-client-core","description":"Common client modules for superdesk apps.","fork":false,"url":"https://api.github.com/repos/superdesk/superdesk-client-core","forks_url":"https://api.github.com/repos/superdesk/superdesk-client-core/forks","keys_url":"https://api.github.com/repos/superdesk/superdesk-client-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/superdesk-client-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/superdesk-client-core/teams","hooks_url":"https://api.github.com/repos/superdesk/superdesk-client-core/hooks","issue_events_url":"https://api.github.com/repos/superdesk/superdesk-client-core/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/superdesk-client-core/events","assignees_url":"https://api.github.com/repos/superdesk/superdesk-client-core/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/superdesk-client-core/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/superdesk-client-core/tags","blobs_url":"https://api.github.com/repos/superdesk/superdesk-client-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/superdesk-client-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/superdesk-client-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/superdesk-client-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/superdesk-client-core/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/superdesk-client-core/languages","stargazers_url":"https://api.github.com/repos/superdesk/superdesk-client-core/stargazers","contributors_url":"https://api.github.com/repos/superdesk/superdesk-client-core/contributors","subscribers_url":"https://api.github.com/repos/superdesk/superdesk-client-core/subscribers","subscription_url":"https://api.github.com/repos/superdesk/superdesk-client-core/subscription","commits_url":"https://api.github.com/repos/superdesk/superdesk-client-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/superdesk-client-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/superdesk-client-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/superdesk-client-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/superdesk-client-core/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/superdesk-client-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/superdesk-client-core/merges","archive_url":"https://api.github.com/repos/superdesk/superdesk-client-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/superdesk-client-core/downloads","issues_url":"https://api.github.com/repos/superdesk/superdesk-client-core/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/superdesk-client-core/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/superdesk-client-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/superdesk-client-core/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/superdesk-client-core/releases{/id}","deployments_url":"https://api.github.com/repos/superdesk/superdesk-client-core/deployments","created_at":"2016-01-29T02:33:16Z","updated_at":"2016-02-01T00:37:29Z","pushed_at":"2016-02-05T01:25:33Z","git_url":"git://github.com/superdesk/superdesk-client-core.git","ssh_url":"git@github.com:superdesk/superdesk-client-core.git","clone_url":"https://github.com/superdesk/superdesk-client-core.git","svn_url":"https://github.com/superdesk/superdesk-client-core","homepage":"","size":1184,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13"},"html":{"href":"https://github.com/superdesk/superdesk-client-core/pull/13"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/issues/13"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk-client-core/statuses/152d50a6b44e9abcace9b8eac280c6c4948c93b6"}}}}