Opened 13 years ago

Closed 12 years ago

#5768 closed bug (fixed)

Removing selected tab passes bad index to select callback

Reported by: pantsmann Owned by:
Priority: major Milestone: 1.9.0
Component: ui.tabs Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:


When you remove a selected tab the select callback is triggered. The ui.index value passed in is wrong. It appears to be what the index of the next tab would have been before the tab removal. It should be one less. Thus, while the correct tab is selected the code in the callback may run for the wrong tab.

Change History (1)

comment:1 Changed 12 years ago by Scott González

Milestone: TBD1.9
Resolution: fixed
Status: newclosed

This is fixed in master.

Note: See TracTickets for help on using tickets.