Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2353 closed bug (fixed)

Cannot add a new tab at first position by using jquery.tabs

Reported by: cndragon Owned by: klaus
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: tabs Cc:
Blocked by: Blocking:

Description

$('#container-9 > ul').tabs('add', '#new-tab', 'New Tab', 1); add new tab at first position

It work well, but $('#container-9 > ul').tabs('add', '#new-tab', 'New Tab', 0); add new tab at first position

It work wrong!

Change History (3)

comment:1 in reply to:  description Changed 12 years ago by cndragon

Replying to cndragon:

$('#container-9 > ul').tabs('add', '#new-tab', 'New Tab', 1); add new tab at first position

It work well, but $('#container-9 > ul').tabs('add', '#new-tab', 'New Tab', 0); add new tab at first position

It work wrong!

$('#container-9 > ul').tabs('add', '#new-tab', 'New Tab', 0);

the new tab will append to the last position.

comment:2 Changed 12 years ago by paul

Owner: changed from paul to klaus

comment:3 Changed 12 years ago by klaus

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.