{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/9","id":45849806,"html_url":"https://github.com/mattlewis92/angular-bootstrap-confirm/pull/9","diff_url":"https://github.com/mattlewis92/angular-bootstrap-confirm/pull/9.diff","patch_url":"https://github.com/mattlewis92/angular-bootstrap-confirm/pull/9.patch","issue_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/issues/9","number":9,"state":"open","locked":false,"title":"Confirm dialog keyboard support","user":{"login":"andreptb","id":2106204,"avatar_url":"https://avatars.githubusercontent.com/u/2106204?v=3","gravatar_id":"","url":"https://api.github.com/users/andreptb","html_url":"https://github.com/andreptb","followers_url":"https://api.github.com/users/andreptb/followers","following_url":"https://api.github.com/users/andreptb/following{/other_user}","gists_url":"https://api.github.com/users/andreptb/gists{/gist_id}","starred_url":"https://api.github.com/users/andreptb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreptb/subscriptions","organizations_url":"https://api.github.com/users/andreptb/orgs","repos_url":"https://api.github.com/users/andreptb/repos","events_url":"https://api.github.com/users/andreptb/events{/privacy}","received_events_url":"https://api.github.com/users/andreptb/received_events","type":"User","site_admin":false},"body":"Hi @mattlewis92,\r\n\r\nGreat work on this plugin! However, I couldn't find a way to use the keyboard to press the buttons on the dialog in an easy way. I want to press enter on a button and when the confirm dialog shows up, I want to press enter again to confirm it. \r\n\r\nIn this pull request I make this work by applying focus to the first button after the popup is shown. To cancel you can go to the next button by pressing tab and then press enter.\r\n\r\n","created_at":"2015-09-24T01:09:46Z","updated_at":"2015-09-24T01:09:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/issues/9/comments","statuses_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/statuses/05fa36186a6d72c468b2f5be7a9fe5b80d0ebf98","head":{"label":"andreptb:master","ref":"master","sha":"05fa36186a6d72c468b2f5be7a9fe5b80d0ebf98","user":{"login":"andreptb","id":2106204,"avatar_url":"https://avatars.githubusercontent.com/u/2106204?v=3","gravatar_id":"","url":"https://api.github.com/users/andreptb","html_url":"https://github.com/andreptb","followers_url":"https://api.github.com/users/andreptb/followers","following_url":"https://api.github.com/users/andreptb/following{/other_user}","gists_url":"https://api.github.com/users/andreptb/gists{/gist_id}","starred_url":"https://api.github.com/users/andreptb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreptb/subscriptions","organizations_url":"https://api.github.com/users/andreptb/orgs","repos_url":"https://api.github.com/users/andreptb/repos","events_url":"https://api.github.com/users/andreptb/events{/privacy}","received_events_url":"https://api.github.com/users/andreptb/received_events","type":"User","site_admin":false},"repo":{"id":43033677,"name":"angular-bootstrap-confirm","full_name":"andreptb/angular-bootstrap-confirm","owner":{"login":"andreptb","id":2106204,"avatar_url":"https://avatars.githubusercontent.com/u/2106204?v=3","gravatar_id":"","url":"https://api.github.com/users/andreptb","html_url":"https://github.com/andreptb","followers_url":"https://api.github.com/users/andreptb/followers","following_url":"https://api.github.com/users/andreptb/following{/other_user}","gists_url":"https://api.github.com/users/andreptb/gists{/gist_id}","starred_url":"https://api.github.com/users/andreptb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreptb/subscriptions","organizations_url":"https://api.github.com/users/andreptb/orgs","repos_url":"https://api.github.com/users/andreptb/repos","events_url":"https://api.github.com/users/andreptb/events{/privacy}","received_events_url":"https://api.github.com/users/andreptb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreptb/angular-bootstrap-confirm","description":"Displays a bootstrap confirmation popover (with no jQuery or bootstrap JS!)","fork":true,"url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm","forks_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/forks","keys_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/teams","hooks_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/hooks","issue_events_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/issues/events{/number}","events_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/events","assignees_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/assignees{/user}","branches_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/branches{/branch}","tags_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/tags","blobs_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/statuses/{sha}","languages_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/languages","stargazers_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/stargazers","contributors_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/contributors","subscribers_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/subscribers","subscription_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/subscription","commits_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/contents/{+path}","compare_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/merges","archive_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/downloads","issues_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/issues{/number}","pulls_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/pulls{/number}","milestones_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/milestones{/number}","notifications_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/labels{/name}","releases_url":"https://api.github.com/repos/andreptb/angular-bootstrap-confirm/releases{/id}","created_at":"2015-09-23T23:52:30Z","updated_at":"2015-09-23T23:52:31Z","pushed_at":"2015-09-24T00:58:56Z","git_url":"git://github.com/andreptb/angular-bootstrap-confirm.git","ssh_url":"git@github.com:andreptb/angular-bootstrap-confirm.git","clone_url":"https://github.com/andreptb/angular-bootstrap-confirm.git","svn_url":"https://github.com/andreptb/angular-bootstrap-confirm","homepage":"http://mattlewis92.github.io/angular-bootstrap-confirm/","size":151,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattlewis92:master","ref":"master","sha":"e9859a748b84ebc7aae1def610451eccf6b61ead","user":{"login":"mattlewis92","id":6425649,"avatar_url":"https://avatars.githubusercontent.com/u/6425649?v=3","gravatar_id":"","url":"https://api.github.com/users/mattlewis92","html_url":"https://github.com/mattlewis92","followers_url":"https://api.github.com/users/mattlewis92/followers","following_url":"https://api.github.com/users/mattlewis92/following{/other_user}","gists_url":"https://api.github.com/users/mattlewis92/gists{/gist_id}","starred_url":"https://api.github.com/users/mattlewis92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattlewis92/subscriptions","organizations_url":"https://api.github.com/users/mattlewis92/orgs","repos_url":"https://api.github.com/users/mattlewis92/repos","events_url":"https://api.github.com/users/mattlewis92/events{/privacy}","received_events_url":"https://api.github.com/users/mattlewis92/received_events","type":"User","site_admin":false},"repo":{"id":34955848,"name":"angular-bootstrap-confirm","full_name":"mattlewis92/angular-bootstrap-confirm","owner":{"login":"mattlewis92","id":6425649,"avatar_url":"https://avatars.githubusercontent.com/u/6425649?v=3","gravatar_id":"","url":"https://api.github.com/users/mattlewis92","html_url":"https://github.com/mattlewis92","followers_url":"https://api.github.com/users/mattlewis92/followers","following_url":"https://api.github.com/users/mattlewis92/following{/other_user}","gists_url":"https://api.github.com/users/mattlewis92/gists{/gist_id}","starred_url":"https://api.github.com/users/mattlewis92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattlewis92/subscriptions","organizations_url":"https://api.github.com/users/mattlewis92/orgs","repos_url":"https://api.github.com/users/mattlewis92/repos","events_url":"https://api.github.com/users/mattlewis92/events{/privacy}","received_events_url":"https://api.github.com/users/mattlewis92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattlewis92/angular-bootstrap-confirm","description":"Displays a bootstrap confirmation popover (with no jQuery or bootstrap JS!)","fork":false,"url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm","forks_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/forks","keys_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/teams","hooks_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/hooks","issue_events_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/issues/events{/number}","events_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/events","assignees_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/assignees{/user}","branches_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/branches{/branch}","tags_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/tags","blobs_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/statuses/{sha}","languages_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/languages","stargazers_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/stargazers","contributors_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/contributors","subscribers_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/subscribers","subscription_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/subscription","commits_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/contents/{+path}","compare_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/merges","archive_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/downloads","issues_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/issues{/number}","pulls_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls{/number}","milestones_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/milestones{/number}","notifications_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/labels{/name}","releases_url":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/releases{/id}","created_at":"2015-05-02T16:56:31Z","updated_at":"2015-09-21T20:17:55Z","pushed_at":"2015-08-29T17:38:26Z","git_url":"git://github.com/mattlewis92/angular-bootstrap-confirm.git","ssh_url":"git@github.com:mattlewis92/angular-bootstrap-confirm.git","clone_url":"https://github.com/mattlewis92/angular-bootstrap-confirm.git","svn_url":"https://github.com/mattlewis92/angular-bootstrap-confirm","homepage":"http://mattlewis92.github.io/angular-bootstrap-confirm/","size":315,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/9"},"html":{"href":"https://github.com/mattlewis92/angular-bootstrap-confirm/pull/9"},"issue":{"href":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/issues/9"},"comments":{"href":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mattlewis92/angular-bootstrap-confirm/statuses/05fa36186a6d72c468b2f5be7a9fe5b80d0ebf98"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":2,"changed_files":1}}