Skip to main content

Search and Top Navigation

#5768 closed bug (fixed)

Opened June 24, 2010 06:27PM UTC

Closed May 17, 2011 03:26PM UTC

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:
Description

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.

Attachments (0)
Change History (1)

Changed May 17, 2011 03:26PM UTC by scottgonzalez comment:1

milestone: TBD1.9
resolution: → fixed
status: newclosed

This is fixed in master.