{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/19","labels_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/19/comments","events_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/19/events","html_url":"https://github.com/yiisoft/jquery-pjax/issues/19","id":60713229,"number":19,"title":"Add option to not deactivate focused element","user":{"login":"gorsash","id":4411782,"avatar_url":"https://avatars.githubusercontent.com/u/4411782?v=3","gravatar_id":"","url":"https://api.github.com/users/gorsash","html_url":"https://github.com/gorsash","followers_url":"https://api.github.com/users/gorsash/followers","following_url":"https://api.github.com/users/gorsash/following{/other_user}","gists_url":"https://api.github.com/users/gorsash/gists{/gist_id}","starred_url":"https://api.github.com/users/gorsash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorsash/subscriptions","organizations_url":"https://api.github.com/users/gorsash/orgs","repos_url":"https://api.github.com/users/gorsash/repos","events_url":"https://api.github.com/users/gorsash/events{/privacy}","received_events_url":"https://api.github.com/users/gorsash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T19:12:44Z","updated_at":"2015-04-26T11:43:19Z","closed_at":null,"body":"There's code in jquery-pjax.js\r\n\r\n    document.activeElement.blur();\r\n\r\nIt can be very annoying if you type something into filter input, pjax reloads result grid and filter input loses focus. Moreover in this case backspace brings you to previous page instead of erasing character.\r\nCan you add option to not deactivate focused element? It can be called \"noBlur\" for instance.\r\nAnd then pjax will blur element only if this option is not set:\r\n\r\n    if (!noBlur) {\r\n        document.activeElement.blur();\r\n    }"},"comment":{"url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/comments/96368474","html_url":"https://github.com/yiisoft/jquery-pjax/issues/19#issuecomment-96368474","issue_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/19","id":96368474,"user":{"login":"bobalazek","id":1904053,"avatar_url":"https://avatars.githubusercontent.com/u/1904053?v=3","gravatar_id":"","url":"https://api.github.com/users/bobalazek","html_url":"https://github.com/bobalazek","followers_url":"https://api.github.com/users/bobalazek/followers","following_url":"https://api.github.com/users/bobalazek/following{/other_user}","gists_url":"https://api.github.com/users/bobalazek/gists{/gist_id}","starred_url":"https://api.github.com/users/bobalazek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobalazek/subscriptions","organizations_url":"https://api.github.com/users/bobalazek/orgs","repos_url":"https://api.github.com/users/bobalazek/repos","events_url":"https://api.github.com/users/bobalazek/events{/privacy}","received_events_url":"https://api.github.com/users/bobalazek/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T11:43:19Z","updated_at":"2015-04-26T11:43:19Z","body":"+1"}}