{"action":"created","issue":{"url":"https://api.github.com/repos/ancestorak/brief/issues/187","repository_url":"https://api.github.com/repos/ancestorak/brief","labels_url":"https://api.github.com/repos/ancestorak/brief/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/ancestorak/brief/issues/187/comments","events_url":"https://api.github.com/repos/ancestorak/brief/issues/187/events","html_url":"https://github.com/ancestorak/brief/pull/187","id":133469503,"number":187,"title":"Fix initialization of the unread counter if the brief button is inside the menu popup.","user":{"login":"MichaelEischer","id":9106997,"avatar_url":"https://avatars.githubusercontent.com/u/9106997?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelEischer","html_url":"https://github.com/MichaelEischer","followers_url":"https://api.github.com/users/MichaelEischer/followers","following_url":"https://api.github.com/users/MichaelEischer/following{/other_user}","gists_url":"https://api.github.com/users/MichaelEischer/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelEischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelEischer/subscriptions","organizations_url":"https://api.github.com/users/MichaelEischer/orgs","repos_url":"https://api.github.com/users/MichaelEischer/repos","events_url":"https://api.github.com/users/MichaelEischer/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelEischer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-13T20:23:40Z","updated_at":"2016-03-14T18:30:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ancestorak/brief/pulls/187","html_url":"https://github.com/ancestorak/brief/pull/187","diff_url":"https://github.com/ancestorak/brief/pull/187.diff","patch_url":"https://github.com/ancestorak/brief/pull/187.patch"},"body":"How to reproduce:\r\nMove the brief button into the menu. Make sure to have some unread feeds.\r\nRestart the browser and open the menu. The unread badge is not displayed.\r\n\r\nIn addition the unread counter option in the context menu is not ticked.\r\n\r\nThe pull request fixes the mentioned bugs. I'm not really sure whether using onload on a toolbarbutton is the correct way to implement this, but I couldn't find a different solution for buttons created via XUL."},"comment":{"url":"https://api.github.com/repos/ancestorak/brief/issues/comments/196458646","html_url":"https://github.com/ancestorak/brief/pull/187#issuecomment-196458646","issue_url":"https://api.github.com/repos/ancestorak/brief/issues/187","id":196458646,"user":{"login":"MichaelEischer","id":9106997,"avatar_url":"https://avatars.githubusercontent.com/u/9106997?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelEischer","html_url":"https://github.com/MichaelEischer","followers_url":"https://api.github.com/users/MichaelEischer/followers","following_url":"https://api.github.com/users/MichaelEischer/following{/other_user}","gists_url":"https://api.github.com/users/MichaelEischer/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelEischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelEischer/subscriptions","organizations_url":"https://api.github.com/users/MichaelEischer/orgs","repos_url":"https://api.github.com/users/MichaelEischer/repos","events_url":"https://api.github.com/users/MichaelEischer/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelEischer/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T18:30:08Z","updated_at":"2016-03-14T18:30:08Z","body":"The newest commit creates the button using the CustomizableUI API and adds the custom context menu to it. Unless I've missed something the should be no regressions of functions."}}