Skip to main content

Search and Top Navigation

#6130 closed bug (worksforme)

Opened September 30, 2010 07:16PM UTC

Closed October 01, 2010 05:41PM UTC

Last modified October 11, 2012 09:15PM UTC

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);

}

});

Attachments (0)
Change History (2)

Changed October 01, 2010 05:41PM UTC by scottgonzalez comment:1

resolution: → worksforme
status: newclosed

Works fine for me.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted