Opened 10 years ago

Closed 10 years ago

#6745 closed feature (wontfix)

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

Change History (1)

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

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.

Note: See TracTickets for help on using tickets.