Opened 12 years ago

Closed 12 years ago

#7698 closed bug (fixed)

Panels do not sort when a tab is sorted which can cause a mismatch error when a tab is removed

Reported by: haraldo Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Description

When sorting tabs the panel does not get sorted. This can lead to mismatch fragment identifier errors when removing a sorted tab.

Problem demoed here: http://jsfiddle.net/GM9BQ/7/

Solved here: http://jsfiddle.net/GM9BQ/25/

This functionality needs to really be incorporated into tabs as sorting and removing tabs is something Jquery promotes.

Change History (1)

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

Resolution: fixed
Status: newclosed

Tabs: Find panels using aria-controls instead of index for remove method. Fixes #7698 - Panels do not sort when a tab is sorted which can cause a mismatch error when a tab is removed.

Changeset: c1cda180a93a6c0a63cf21a68dacb54233e03d03

Note: See TracTickets for help on using tickets.