ui.tabs unable to set index after add
Hi
I am trying to get the ui.tabs to behave like IE or Firefox, where when you click on the last (addnew) tab then the second last tab is selected.
I've tried all the callback and handlers from the documentation but whatever I do the line
self._trigger('select', null, self._ui(this, $show[0])) === false)
always sets the selected tab to the last one.
Any help would be appreciated.
Best Regards
John