Search and Top Navigation
#5833 closed bug (notabug)
Opened July 16, 2010 09:06PM UTC
Closed July 16, 2010 09:41PM UTC
Last modified October 11, 2012 09:15PM UTC
Introduction of by-href functionality broke collapsible tabs functionality
Reported by: | brazilianjoe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.tabs | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The patch which introduced option to operate tabs by href broke the functionality of collapsing all tabs.
Additionaly, a leftover 'else' is giving a syntax error.
A patch is already in the works.
Patch in git, pull requested already:
http://github.com/BrazilianJoe/jquery-ui/commit/d3647e42feab0609047d45a8ae30a309953e6ae0
This patch restores collapsing all tabs. This will work with either:
$('#tabs').tabs('select',NaN);
or
$('#tabs').tabs('select');
if the option collapsible is true.
Documentation should be updated accordingly, but I have no idea how to do that.