On 10 Feb., 22:55, Klaus Hartl <[email protected]> wrote:
> I can confirm that behavior with latest 
> trunk...http://dev.jqueryui.com/ticket/4110

Closed invalid.

This is actually expected behavior due to event propagation. The inner
"tabsselect" event bubbles up, thus it'll fire the handler when
passing the outer tabs. It's required to explicitly prevent this
propagation:

$('#container-1').tabs()
    .bind("tabsselect", function (event, ui) {
        alert(ui.index);
    });
$('#sub-container-1').tabs()
    .bind("tabsselect", function (event, ui) {
        event.stopPropagation();
    });


--Klaus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to