Bug Tracker

Ticket #2353 (closed bug: fixed)

Opened 10 months ago

Last modified 9 months ago

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

Reported by: cndragon Assigned to: klaus
Type: bug Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: tabs
Cc: Needs: Patch

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!

Attachments

Change History

in reply to: ↑ description   Changed 10 months 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.

  Changed 10 months ago by paul

  • owner changed from paul to klaus

  Changed 9 months ago by klaus

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.