{"issue":{"pull_request":{"diff_url":"https://github.com/jquery/jquery-ui/pull/515.diff","html_url":"https://github.com/jquery/jquery-ui/pull/515","patch_url":"https://github.com/jquery/jquery-ui/pull/515.patch"},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/1002f24df7b46a8dc40e41ae17ef2358?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1002f24df7b46a8dc40e41ae17ef2358","url":"https://api.github.com/users/MGaetan89","login":"MGaetan89","id":1009664},"milestone":null,"assignee":null,"updated_at":"2011-11-07T18:31:25Z","labels":[],"comments":5,"closed_at":null,"url":"https://api.github.com/repos/jquery/jquery-ui/issues/515","body":"Keep the button hidden if it is hidden when the button is initialized.","html_url":"https://github.com/jquery/jquery-ui/issues/515","number":515,"title":"Button: Fixed #5334 - ui-helper-hidden get overwritten on initialization ","id":2156030,"created_at":"2011-11-06T13:13:23Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/1002f24df7b46a8dc40e41ae17ef2358?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1002f24df7b46a8dc40e41ae17ef2358","url":"https://api.github.com/users/MGaetan89","login":"MGaetan89","id":1009664},"updated_at":"2011-11-07T18:31:25Z","url":"https://api.github.com/repos/jquery/jquery-ui/issues/comments/2657343","body":"Here is another try.\r\n\r\nIf one of the ancestor is hidden, the button is already hidden, nothing is done.\r\nIf it's the button element itself which is hidden, the button is hidden when initialized.\r\n\r\nIn both case, showing the hidden element also display the button. I only tried it with button though. But it should work for any widget.","id":2657343,"created_at":"2011-11-07T18:31:25Z"}}