{"action":"created","comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments/51119220","id":51119220,"diff_hunk":"@@ -606,11 +606,15 @@ describe('$uibModal', function() {\n         template:'<a href=\"#\" id=\"tab-focus-link\"><input type=\"text\" id=\"tab-focus-input1\"/><input type=\"text\" id=\"tab-focus-input2\"/>' +\n         '<button id=\"tab-focus-button\">Open me!</button>'\n       });\n+      $rootScope.$digest();","path":"src/modal/test/modal.spec.js","position":4,"original_position":4,"commit_id":"e38a98ff05e575f810339d5dfc7b31ba89b5d472","original_commit_id":"e38a98ff05e575f810339d5dfc7b31ba89b5d472","user":{"login":"AndriIushchuk","id":1356114,"avatar_url":"https://avatars.githubusercontent.com/u/1356114?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriIushchuk","html_url":"https://github.com/AndriIushchuk","followers_url":"https://api.github.com/users/AndriIushchuk/followers","following_url":"https://api.github.com/users/AndriIushchuk/following{/other_user}","gists_url":"https://api.github.com/users/AndriIushchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriIushchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriIushchuk/subscriptions","organizations_url":"https://api.github.com/users/AndriIushchuk/orgs","repos_url":"https://api.github.com/users/AndriIushchuk/repos","events_url":"https://api.github.com/users/AndriIushchuk/events{/privacy}","received_events_url":"https://api.github.com/users/AndriIushchuk/received_events","type":"User","site_admin":false},"body":"it's necessary to update focused element after modal opening","created_at":"2016-01-28T13:06:25Z","updated_at":"2016-01-28T13:06:25Z","html_url":"https://github.com/angular-ui/bootstrap/pull/5294#discussion_r51119220","pull_request_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294","_links":{"self":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments/51119220"},"html":{"href":"https://github.com/angular-ui/bootstrap/pull/5294#discussion_r51119220"},"pull_request":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294"}}},"pull_request":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294","id":56358222,"html_url":"https://github.com/angular-ui/bootstrap/pull/5294","diff_url":"https://github.com/angular-ui/bootstrap/pull/5294.diff","patch_url":"https://github.com/angular-ui/bootstrap/pull/5294.patch","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5294","number":5294,"state":"open","locked":false,"title":"fix(modal): shift+tab without focused element within modal","user":{"login":"AndriIushchuk","id":1356114,"avatar_url":"https://avatars.githubusercontent.com/u/1356114?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriIushchuk","html_url":"https://github.com/AndriIushchuk","followers_url":"https://api.github.com/users/AndriIushchuk/followers","following_url":"https://api.github.com/users/AndriIushchuk/following{/other_user}","gists_url":"https://api.github.com/users/AndriIushchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriIushchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriIushchuk/subscriptions","organizations_url":"https://api.github.com/users/AndriIushchuk/orgs","repos_url":"https://api.github.com/users/AndriIushchuk/repos","events_url":"https://api.github.com/users/AndriIushchuk/events{/privacy}","received_events_url":"https://api.github.com/users/AndriIushchuk/received_events","type":"User","site_admin":false},"body":"Closes https://github.com/angular-ui/bootstrap/issues/5229","created_at":"2016-01-18T15:44:29Z","updated_at":"2016-01-28T13:06:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d35a9956836c0d7bd8ad8894d36b62743993259","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294/commits","review_comments_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294/comments","review_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5294/comments","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/e38a98ff05e575f810339d5dfc7b31ba89b5d472","head":{"label":"AndriIushchuk:modal-focus","ref":"modal-focus","sha":"e38a98ff05e575f810339d5dfc7b31ba89b5d472","user":{"login":"AndriIushchuk","id":1356114,"avatar_url":"https://avatars.githubusercontent.com/u/1356114?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriIushchuk","html_url":"https://github.com/AndriIushchuk","followers_url":"https://api.github.com/users/AndriIushchuk/followers","following_url":"https://api.github.com/users/AndriIushchuk/following{/other_user}","gists_url":"https://api.github.com/users/AndriIushchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriIushchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriIushchuk/subscriptions","organizations_url":"https://api.github.com/users/AndriIushchuk/orgs","repos_url":"https://api.github.com/users/AndriIushchuk/repos","events_url":"https://api.github.com/users/AndriIushchuk/events{/privacy}","received_events_url":"https://api.github.com/users/AndriIushchuk/received_events","type":"User","site_admin":false},"repo":{"id":49652929,"name":"bootstrap","full_name":"AndriIushchuk/bootstrap","owner":{"login":"AndriIushchuk","id":1356114,"avatar_url":"https://avatars.githubusercontent.com/u/1356114?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriIushchuk","html_url":"https://github.com/AndriIushchuk","followers_url":"https://api.github.com/users/AndriIushchuk/followers","following_url":"https://api.github.com/users/AndriIushchuk/following{/other_user}","gists_url":"https://api.github.com/users/AndriIushchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriIushchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriIushchuk/subscriptions","organizations_url":"https://api.github.com/users/AndriIushchuk/orgs","repos_url":"https://api.github.com/users/AndriIushchuk/repos","events_url":"https://api.github.com/users/AndriIushchuk/events{/privacy}","received_events_url":"https://api.github.com/users/AndriIushchuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndriIushchuk/bootstrap","description":"Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!","fork":true,"url":"https://api.github.com/repos/AndriIushchuk/bootstrap","forks_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/forks","keys_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/teams","hooks_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/events","assignees_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/tags","blobs_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/languages","stargazers_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/subscription","commits_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/merges","archive_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/downloads","issues_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/AndriIushchuk/bootstrap/deployments","created_at":"2016-01-14T14:41:13Z","updated_at":"2016-01-14T14:41:15Z","pushed_at":"2016-01-25T14:41:08Z","git_url":"git://github.com/AndriIushchuk/bootstrap.git","ssh_url":"git@github.com:AndriIushchuk/bootstrap.git","clone_url":"https://github.com/AndriIushchuk/bootstrap.git","svn_url":"https://github.com/AndriIushchuk/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":8096,"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":"angular-ui:master","ref":"master","sha":"096e1711371bbb431c7c0c6fed70a79a009713e4","user":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":6094683,"name":"bootstrap","full_name":"angular-ui/bootstrap","owner":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular-ui/bootstrap","description":"Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!","fork":false,"url":"https://api.github.com/repos/angular-ui/bootstrap","forks_url":"https://api.github.com/repos/angular-ui/bootstrap/forks","keys_url":"https://api.github.com/repos/angular-ui/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular-ui/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular-ui/bootstrap/teams","hooks_url":"https://api.github.com/repos/angular-ui/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/angular-ui/bootstrap/events","assignees_url":"https://api.github.com/repos/angular-ui/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/angular-ui/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/angular-ui/bootstrap/tags","blobs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular-ui/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular-ui/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/angular-ui/bootstrap/languages","stargazers_url":"https://api.github.com/repos/angular-ui/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/angular-ui/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/angular-ui/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/angular-ui/bootstrap/subscription","commits_url":"https://api.github.com/repos/angular-ui/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular-ui/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular-ui/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/angular-ui/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular-ui/bootstrap/merges","archive_url":"https://api.github.com/repos/angular-ui/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular-ui/bootstrap/downloads","issues_url":"https://api.github.com/repos/angular-ui/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/angular-ui/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/angular-ui/bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/angular-ui/bootstrap/deployments","created_at":"2012-10-05T18:27:01Z","updated_at":"2016-01-28T08:28:53Z","pushed_at":"2016-01-27T23:36:26Z","git_url":"git://github.com/angular-ui/bootstrap.git","ssh_url":"git@github.com:angular-ui/bootstrap.git","clone_url":"https://github.com/angular-ui/bootstrap.git","svn_url":"https://github.com/angular-ui/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":14853,"stargazers_count":11393,"watchers_count":11393,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5901,"mirror_url":null,"open_issues_count":102,"forks":5901,"open_issues":102,"watchers":11393,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294"},"html":{"href":"https://github.com/angular-ui/bootstrap/pull/5294"},"issue":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/5294"},"comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/5294/comments"},"review_comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294/comments"},"review_comment":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5294/commits"},"statuses":{"href":"https://api.github.com/repos/angular-ui/bootstrap/statuses/e38a98ff05e575f810339d5dfc7b31ba89b5d472"}}}}