Skip to main content

Search and Top Navigation

#6745 closed feature (wontfix)

Opened December 13, 2010 11:14AM UTC

Closed December 13, 2010 01:02PM UTC

Tab Add not returns the added li Element

Reported by: hlop Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:
Description

To Fix

Change:

add: function( url, label, index ) {

.......

this._trigger( "add", null, this._ui( this.anchors[ index ], this.panels[ index ] ) );

return this;

},

To:

add: function( url, label, index ) {

.......

this._trigger( "add", null, this._ui( this.anchors[ index ], this.panels[ index ] ) );

return $li;

},

After this change, you can appeal to the created li element

Attachments (0)
Change History (1)

Changed December 13, 2010 01:02PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

This would break chaining and it's not clear what would be returned if there was a value: the tab, the panel, or an object.