Ticket #5785 (closed bug: notabug)

Opened 3 years ago

Last modified 8 months ago

disabled tabs can be activated with parameter

Reported by: badtwin Owned by:
Priority: major Milestone:
Component: ui.tabs Version: 1.8.2
Keywords: Cc:
Blocking: Blocked by:

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

Change History

comment:1 Changed 2 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to invalid

You should be able to programmatically activate a tab, which is what happens on initialization.

comment:2 Changed 8 months ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.