GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
.tabs("disable") and .tabs("enable") doesn't work. This change fixes the 2 methods so that when index is undefined it disables/enables all tabs (expect for the current selected tab).
It also sets option.disabled to true/false when the tabs are fully enabled/disabled.
And per decision with Scott (and forum post http://forum.jquery.com/topic/tabs-api-redesign#14737000002089057) you can disabled the selected tab now.
Also added some tests for this.
Tabs: Fix disable and enable methods to correctly handle when index i…
…s undefined. Use boolean when fully enabled/disabled. Allow selected tab to be disabled.Fixes #4386
Thanks, merged into master.