#5785 closed bug (notabug)
disabled tabs can be activated with parameter
Reported by: | badtwin | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.tabs | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When a Tabbox is defined with:
$('#my_div_id').tabs({ disabled: [1, 2, 3, 4] });
the disabled tabs can be opened when adding #[TAB_ID] to the URL. (e.g. http://example.com/mysite.php#step4)
The issue only is visible if the param is added at the initial page call or the page is refreshed. If the page is already open and you add the parameter nothing happens, but if you do a refresh, you can see the issue.
tested with ubuntu/chrome 5.0.342.9 beta, ubuntu/firefox 3.6.6, winxp/ff 3.6.4
Note: See
TracTickets for help on using
tickets.
You should be able to programmatically activate a tab, which is what happens on initialization.