Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#6130 closed bug (worksforme)

Tabs Demo Overview: Section 3.5 ("...immediately select a just added tab") no longer works.

Reported by: STW Owned by:
Priority: minor Milestone:
Component: [meta] ui.demos Version: 1.8.5
Keywords: tabs demo overview Cc:
Blocked by: Blocking:

Description

The current snippet for immediately selecting an added tab is non-functional.

The current snippet is:

var $tabs = $('#example').tabs({

add: function(event, ui) {

$tabs.tabs('select', '#' + ui.panel.id);

}

});

My working snippet is:

var $tabs = $('#example').tabs({

add: function(event, ui) {

$tabs.tabs('select', ui.index);

}

});

Change History (2)

comment:1 Changed 13 years ago by Scott González

Resolution: worksforme
Status: newclosed

Works fine for me.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.