Opened 8 years ago

Closed 8 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:1 Changed 8 years ago by nstuart

Last edited 8 years ago by nstuart (previous) (diff)

comment:2 Changed 8 years ago by nstuart

Please Ignore/Delete. The issue was due to using a string instead of an int.

comment:3 Changed 8 years ago by Scott González

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.