{"action":"created","issue":{"url":"https://api.github.com/repos/scottgonzalez/jquery-ui/issues/1","labels_url":"https://api.github.com/repos/scottgonzalez/jquery-ui/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/scottgonzalez/jquery-ui/issues/1/comments","events_url":"https://api.github.com/repos/scottgonzalez/jquery-ui/issues/1/events","html_url":"https://github.com/scottgonzalez/jquery-ui/pull/1","id":107494961,"number":1,"title":"Deal with disable option on create","user":{"login":"jzaefferer","id":52585,"avatar_url":"https://avatars.githubusercontent.com/u/52585?v=3","gravatar_id":"","url":"https://api.github.com/users/jzaefferer","html_url":"https://github.com/jzaefferer","followers_url":"https://api.github.com/users/jzaefferer/followers","following_url":"https://api.github.com/users/jzaefferer/following{/other_user}","gists_url":"https://api.github.com/users/jzaefferer/gists{/gist_id}","starred_url":"https://api.github.com/users/jzaefferer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzaefferer/subscriptions","organizations_url":"https://api.github.com/users/jzaefferer/orgs","repos_url":"https://api.github.com/users/jzaefferer/repos","events_url":"https://api.github.com/users/jzaefferer/events{/privacy}","received_events_url":"https://api.github.com/users/jzaefferer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-21T11:50:47Z","updated_at":"2015-09-22T11:19:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scottgonzalez/jquery-ui/pulls/1","html_url":"https://github.com/scottgonzalez/jquery-ui/pull/1","diff_url":"https://github.com/scottgonzalez/jquery-ui/pull/1.diff","patch_url":"https://github.com/scottgonzalez/jquery-ui/pull/1.patch"},"body":"Building on top of gh-1599, this fixes missing or redundant handling of the disabled option on create. The only missing widget is tabs. From my comment on the original PR:\r\n\r\n> Tabs is not working correctly, for example it ends up with the ui-tabs-disabled class when only setting specific tabs, like disabled: [1, 2]. Due to the array variant I haven't yet figured out what to do here."},"comment":{"url":"https://api.github.com/repos/scottgonzalez/jquery-ui/issues/comments/142257083","html_url":"https://github.com/scottgonzalez/jquery-ui/pull/1#issuecomment-142257083","issue_url":"https://api.github.com/repos/scottgonzalez/jquery-ui/issues/1","id":142257083,"user":{"login":"jzaefferer","id":52585,"avatar_url":"https://avatars.githubusercontent.com/u/52585?v=3","gravatar_id":"","url":"https://api.github.com/users/jzaefferer","html_url":"https://github.com/jzaefferer","followers_url":"https://api.github.com/users/jzaefferer/followers","following_url":"https://api.github.com/users/jzaefferer/following{/other_user}","gists_url":"https://api.github.com/users/jzaefferer/gists{/gist_id}","starred_url":"https://api.github.com/users/jzaefferer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzaefferer/subscriptions","organizations_url":"https://api.github.com/users/jzaefferer/orgs","repos_url":"https://api.github.com/users/jzaefferer/repos","events_url":"https://api.github.com/users/jzaefferer/events{/privacy}","received_events_url":"https://api.github.com/users/jzaefferer/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T11:19:27Z","updated_at":"2015-09-22T11:19:27Z","body":"Updated. Removed all the redundant calls in `setOption`. Updated tooltip to use `_setOptionDisabled`. \r\n\r\nUpdated tabs, renaming to `_setupDisabled ` to `_setOptionDisabled`. It still calls `_setOptionDisabled` in `_refresh`, which is also called on create. I added an explicit `_toggleClass` call to only add \"ui-tabs-disabled\" when all tabs are disabled."}}