Ticket #5768 (closed bug: fixed)
Removing selected tab passes bad index to select callback
|Reported by:||pantsmann||Owned by:|
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.