{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/7405","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7405/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7405/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7405/events","html_url":"https://github.com/mozilla/pdf.js/pull/7405","id":159778941,"number":7405,"title":"Ensure that the 'pagechanging' event is triggered on load, to avoid incorrect initial button state (PR 7289 followup)","user":{"login":"Snuffleupagus","id":2692120,"avatar_url":"https://avatars.githubusercontent.com/u/2692120?v=3","gravatar_id":"","url":"https://api.github.com/users/Snuffleupagus","html_url":"https://github.com/Snuffleupagus","followers_url":"https://api.github.com/users/Snuffleupagus/followers","following_url":"https://api.github.com/users/Snuffleupagus/following{/other_user}","gists_url":"https://api.github.com/users/Snuffleupagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Snuffleupagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snuffleupagus/subscriptions","organizations_url":"https://api.github.com/users/Snuffleupagus/orgs","repos_url":"https://api.github.com/users/Snuffleupagus/repos","events_url":"https://api.github.com/users/Snuffleupagus/events{/privacy}","received_events_url":"https://api.github.com/users/Snuffleupagus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-ux","name":"1-ux","color":"c0c0c0"},{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/3-regression","name":"3-regression","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-11T15:35:37Z","updated_at":"2016-06-18T16:03:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/7405","html_url":"https://github.com/mozilla/pdf.js/pull/7405","diff_url":"https://github.com/mozilla/pdf.js/pull/7405.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/7405.patch"},"body":"With the changes in PR #7289, we no longer dispatch a 'pagechanging' event on load. Since most PDF documents open on the first page, this means that the `previous` and `firstPage` buttons are not correctly disabled.\r\n\r\n*A picture is worth a thousand words:*\r\n\r\n![buttons-disabled](https://cloud.githubusercontent.com/assets/2692120/15985850/9eec2628-2ffa-11e6-8c80-d933cc206ce1.png)\r\n\r\n/cc @yurydelendik \r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/226950064","html_url":"https://github.com/mozilla/pdf.js/pull/7405#issuecomment-226950064","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7405","id":226950064,"user":{"login":"pdfjsbot","id":1036361,"avatar_url":"https://avatars.githubusercontent.com/u/1036361?v=3","gravatar_id":"","url":"https://api.github.com/users/pdfjsbot","html_url":"https://github.com/pdfjsbot","followers_url":"https://api.github.com/users/pdfjsbot/followers","following_url":"https://api.github.com/users/pdfjsbot/following{/other_user}","gists_url":"https://api.github.com/users/pdfjsbot/gists{/gist_id}","starred_url":"https://api.github.com/users/pdfjsbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdfjsbot/subscriptions","organizations_url":"https://api.github.com/users/pdfjsbot/orgs","repos_url":"https://api.github.com/users/pdfjsbot/repos","events_url":"https://api.github.com/users/pdfjsbot/events{/privacy}","received_events_url":"https://api.github.com/users/pdfjsbot/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T16:03:03Z","updated_at":"2016-06-18T16:03:03Z","body":"#### From: Bot.io (Linux)\n\n----\n\n# Received\n\nCommand **cmd_preview** from @Snuffleupagus received. Current queue size: 0\n\nLive output at: http://107.21.233.14:8877/dbbc44bf362a39f/output.txt"}}
{"actor":{"display_login":"pdfjsbot"}}