Opened 12 years ago
Closed 12 years ago
#7516 closed bug (notabug)
Selected Numbers seem wrong
Reported by: | nstuart | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.tabs | Version: | 1.8.13 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
when using the selected option, it seems to be off by it's documented index. The documentation says it's a zero-based index, but if I do
$("#specialEffect").tabs("option", "selected", tabLocation);
and tabLocation is 2, it sets it to the second tab, instead of a Zero-based index of the "3rd" tab. When I do a get it get's them properly(A value of 2 is the "3rd" tab), but setting it seems to not follow the convention.
Change History (3)
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please Ignore/Delete. The issue was due to using a string instead of an int.