{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/2611","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/2611/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/2611/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/2611/events","html_url":"https://github.com/mozilla/pdf.js/issues/2611","id":10318920,"number":2611,"title":"How to disable toolbar buttons at will?","user":{"login":"jaimeloci","id":3381030,"avatar_url":"https://avatars.githubusercontent.com/u/3381030?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimeloci","html_url":"https://github.com/jaimeloci","followers_url":"https://api.github.com/users/jaimeloci/followers","following_url":"https://api.github.com/users/jaimeloci/following{/other_user}","gists_url":"https://api.github.com/users/jaimeloci/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimeloci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimeloci/subscriptions","organizations_url":"https://api.github.com/users/jaimeloci/orgs","repos_url":"https://api.github.com/users/jaimeloci/repos","events_url":"https://api.github.com/users/jaimeloci/events{/privacy}","received_events_url":"https://api.github.com/users/jaimeloci/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-other","name":"1-other","color":"DDDDDD"},{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/5-good-beginner-bug","name":"5-good-beginner-bug","color":"E0EEEE"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-01-25T17:19:44Z","updated_at":"2015-06-19T10:52:37Z","closed_at":"2013-01-25T18:08:55Z","body":"I have downloaded the example in http://mozilla.github.com/pdf.js/web/viewer.html and all the assets. Everything works fine. But now I'm trying to disable certain buttons to limit the functions a user has. I have tried commenting out individual buttons in the HTML code -even the div.toolbar layer- but the page doesn't load.\r\n\r\nWhat should I do to accomplish that? Thanks!"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/113470874","html_url":"https://github.com/mozilla/pdf.js/issues/2611#issuecomment-113470874","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/2611","id":113470874,"user":{"login":"timvandermeij","id":1993262,"avatar_url":"https://avatars.githubusercontent.com/u/1993262?v=3","gravatar_id":"","url":"https://api.github.com/users/timvandermeij","html_url":"https://github.com/timvandermeij","followers_url":"https://api.github.com/users/timvandermeij/followers","following_url":"https://api.github.com/users/timvandermeij/following{/other_user}","gists_url":"https://api.github.com/users/timvandermeij/gists{/gist_id}","starred_url":"https://api.github.com/users/timvandermeij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvandermeij/subscriptions","organizations_url":"https://api.github.com/users/timvandermeij/orgs","repos_url":"https://api.github.com/users/timvandermeij/repos","events_url":"https://api.github.com/users/timvandermeij/events{/privacy}","received_events_url":"https://api.github.com/users/timvandermeij/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T10:52:37Z","updated_at":"2015-06-19T10:52:37Z","body":"Looks fine to me."}}