{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/7485","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7485/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7485/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7485/events","html_url":"https://github.com/mozilla/pdf.js/pull/7485","id":165532281,"number":7485,"title":"Ensure that we don't reset the current page view if the user inputs an invalid page number (PR 7289 follow-up)","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/1-viewer","name":"1-viewer","color":"DDDDDD"},{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/3-regression","name":"3-regression","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T10:48:49Z","updated_at":"2016-07-16T11:38:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/7485","html_url":"https://github.com/mozilla/pdf.js/pull/7485","diff_url":"https://github.com/mozilla/pdf.js/pull/7485.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/7485.patch"},"body":"After PR #7289, we'll now reset the current page view in cases where I don't think we should. To avoid this, this patch ensures that we'll not modify the position when the page number is out-of-bounds.\r\n\r\n**STR:**\r\n1. Open http://mozilla.github.io/pdf.js/web/viewer.html#page=1&zoom=auto,-98,696\r\n2. Enter an invalid number, e.g. `1000`, in the `pageNumber` input.\r\n\r\n**ER:**\r\nThe current position in the document shouldn't change, since the page number wasn't valid.\r\n\r\n**AR:**\r\nThe document resets to the top of page `1`."},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/233126444","html_url":"https://github.com/mozilla/pdf.js/pull/7485#issuecomment-233126444","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7485","id":233126444,"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},"created_at":"2016-07-16T11:38:49Z","updated_at":"2016-07-16T11:38:49Z","body":"/botio-windows preview"}}
{"actor":{"display_login":"Snuffleupagus"}}