{"action":"opened","number":25,"pull_request":{"url":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/25","id":42706488,"html_url":"https://github.com/yiisoft/jquery-pjax/pull/25","diff_url":"https://github.com/yiisoft/jquery-pjax/pull/25.diff","patch_url":"https://github.com/yiisoft/jquery-pjax/pull/25.patch","issue_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/25","number":25,"state":"open","locked":false,"title":"Only blur the focused element if it is inside Pjax container","user":{"login":"GeorgeGardiner","id":5549378,"avatar_url":"https://avatars.githubusercontent.com/u/5549378?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgeGardiner","html_url":"https://github.com/GeorgeGardiner","followers_url":"https://api.github.com/users/GeorgeGardiner/followers","following_url":"https://api.github.com/users/GeorgeGardiner/following{/other_user}","gists_url":"https://api.github.com/users/GeorgeGardiner/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgeGardiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgeGardiner/subscriptions","organizations_url":"https://api.github.com/users/GeorgeGardiner/orgs","repos_url":"https://api.github.com/users/GeorgeGardiner/repos","events_url":"https://api.github.com/users/GeorgeGardiner/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgeGardiner/received_events","type":"User","site_admin":false},"body":"Fix for an issue that has come up on the forums a few times. If you're using Pjax to refresh some results (eg. live search) then element focus is lost.\r\n\r\neg.\r\n![screen shot 2015-08-18 at 15 39 42](https://cloud.githubusercontent.com/assets/5549378/9333001/7a2ff466-45bf-11e5-8264-76090b0cf40a.png)\r\n\r\nhttps://github.com/yiisoft/yii2/issues/4677","created_at":"2015-08-18T14:41:30Z","updated_at":"2015-08-18T14:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/25/commits","review_comments_url":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/25/comments","review_comment_url":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/25/comments","statuses_url":"https://api.github.com/repos/yiisoft/jquery-pjax/statuses/f7df3d01745761faae063dd07d9ac76c15b726c8","head":{"label":"GeorgeGardiner:master","ref":"master","sha":"f7df3d01745761faae063dd07d9ac76c15b726c8","user":{"login":"GeorgeGardiner","id":5549378,"avatar_url":"https://avatars.githubusercontent.com/u/5549378?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgeGardiner","html_url":"https://github.com/GeorgeGardiner","followers_url":"https://api.github.com/users/GeorgeGardiner/followers","following_url":"https://api.github.com/users/GeorgeGardiner/following{/other_user}","gists_url":"https://api.github.com/users/GeorgeGardiner/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgeGardiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgeGardiner/subscriptions","organizations_url":"https://api.github.com/users/GeorgeGardiner/orgs","repos_url":"https://api.github.com/users/GeorgeGardiner/repos","events_url":"https://api.github.com/users/GeorgeGardiner/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgeGardiner/received_events","type":"User","site_admin":false},"repo":{"id":40976606,"name":"jquery-pjax","full_name":"GeorgeGardiner/jquery-pjax","owner":{"login":"GeorgeGardiner","id":5549378,"avatar_url":"https://avatars.githubusercontent.com/u/5549378?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgeGardiner","html_url":"https://github.com/GeorgeGardiner","followers_url":"https://api.github.com/users/GeorgeGardiner/followers","following_url":"https://api.github.com/users/GeorgeGardiner/following{/other_user}","gists_url":"https://api.github.com/users/GeorgeGardiner/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgeGardiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgeGardiner/subscriptions","organizations_url":"https://api.github.com/users/GeorgeGardiner/orgs","repos_url":"https://api.github.com/users/GeorgeGardiner/repos","events_url":"https://api.github.com/users/GeorgeGardiner/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgeGardiner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GeorgeGardiner/jquery-pjax","description":"pushState + ajax = pjax","fork":true,"url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax","forks_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/forks","keys_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/teams","hooks_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/hooks","issue_events_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/issues/events{/number}","events_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/events","assignees_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/assignees{/user}","branches_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/branches{/branch}","tags_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/tags","blobs_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/git/refs{/sha}","trees_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/statuses/{sha}","languages_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/languages","stargazers_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/stargazers","contributors_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/contributors","subscribers_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/subscribers","subscription_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/subscription","commits_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/commits{/sha}","git_commits_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/git/commits{/sha}","comments_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/comments{/number}","issue_comment_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/issues/comments{/number}","contents_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/contents/{+path}","compare_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/merges","archive_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/downloads","issues_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/issues{/number}","pulls_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/pulls{/number}","milestones_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/milestones{/number}","notifications_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/labels{/name}","releases_url":"https://api.github.com/repos/GeorgeGardiner/jquery-pjax/releases{/id}","created_at":"2015-08-18T14:25:56Z","updated_at":"2015-08-18T14:25:57Z","pushed_at":"2015-08-18T14:27:18Z","git_url":"git://github.com/GeorgeGardiner/jquery-pjax.git","ssh_url":"git@github.com:GeorgeGardiner/jquery-pjax.git","clone_url":"https://github.com/GeorgeGardiner/jquery-pjax.git","svn_url":"https://github.com/GeorgeGardiner/jquery-pjax","homepage":"http://pjax.heroku.com","size":808,"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":"yiisoft:master","ref":"master","sha":"3f20897307cca046fca5323b318475ae9dac0ca0","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":17426558,"name":"jquery-pjax","full_name":"yiisoft/jquery-pjax","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/jquery-pjax","description":"pushState + ajax = pjax","fork":true,"url":"https://api.github.com/repos/yiisoft/jquery-pjax","forks_url":"https://api.github.com/repos/yiisoft/jquery-pjax/forks","keys_url":"https://api.github.com/repos/yiisoft/jquery-pjax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/jquery-pjax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/jquery-pjax/teams","hooks_url":"https://api.github.com/repos/yiisoft/jquery-pjax/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/jquery-pjax/events","assignees_url":"https://api.github.com/repos/yiisoft/jquery-pjax/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/jquery-pjax/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/jquery-pjax/tags","blobs_url":"https://api.github.com/repos/yiisoft/jquery-pjax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/jquery-pjax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/jquery-pjax/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/jquery-pjax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/jquery-pjax/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/jquery-pjax/languages","stargazers_url":"https://api.github.com/repos/yiisoft/jquery-pjax/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/jquery-pjax/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/jquery-pjax/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/jquery-pjax/subscription","commits_url":"https://api.github.com/repos/yiisoft/jquery-pjax/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/jquery-pjax/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/jquery-pjax/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/jquery-pjax/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/jquery-pjax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/jquery-pjax/merges","archive_url":"https://api.github.com/repos/yiisoft/jquery-pjax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/jquery-pjax/downloads","issues_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/jquery-pjax/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/jquery-pjax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/jquery-pjax/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/jquery-pjax/releases{/id}","created_at":"2014-03-05T03:23:15Z","updated_at":"2015-08-06T10:15:42Z","pushed_at":"2015-05-07T08:13:50Z","git_url":"git://github.com/yiisoft/jquery-pjax.git","ssh_url":"git@github.com:yiisoft/jquery-pjax.git","clone_url":"https://github.com/yiisoft/jquery-pjax.git","svn_url":"https://github.com/yiisoft/jquery-pjax","homepage":"http://pjax.heroku.com","size":1131,"stargazers_count":46,"watchers_count":46,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":9,"forks":15,"open_issues":9,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/25"},"html":{"href":"https://github.com/yiisoft/jquery-pjax/pull/25"},"issue":{"href":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/25"},"comments":{"href":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/jquery-pjax/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/jquery-pjax/statuses/f7df3d01745761faae063dd07d9ac76c15b726c8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":3,"changed_files":1}}