Tabs: select callback gets pre-click data?

Tabs: select callback gets pre-click data?


$('#editTabs').tabs
(
    {
        spinner: '',
        load: onTabLoad,
        select: onTabSelect,
        selected: null,
        cache: false,
        fx: {opacity: 'toggle'},
        ajaxOptions: {cache: false}
    }
);
function onTabSelect (options)
{
    var selTab = options.options.selected;
    console.log('onTabSelect', selTab, options);
}
The info logged to the firebug console shows selTab having the index
of the previously selected tab, ie the one selected before this click.
Is that intentional? Is there a way to find out the index of the just-
clicked tab from there?
(Oddly enough, when I drill down into the console dump of the entire
options structure, options.options.selected shows the index of the
newly clicked tab. It seems like the callback gets the old data, and
the act of drilling down in firebug evaluates the options expression
right at that time, getting the state of the tabs object after the
click has taken effect.)
The same code called from the load callback shows the correct data.
Practically speaking, I can do what want to do from there, so this is
a moot point, sort of, but it makes me feel like I may be missing part
of how this is supposed to work.
Thanks again, as always.