Search and Top Navigation
#14305 closed bug (worksforme)
Opened August 22, 2015 06:04PM UTC
Closed August 23, 2015 10:23PM UTC
Jquery UI Sortable tabs' internal order are out of sync after sorting
Reported by: | stanchovy@gmail.com | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.tabs | Version: | 1.11.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Reproduction steps:
- create 3 tabs: tab 1, 2, and 3
- use the mouse to swap the position of tabs 2 and 3, so now the order is 1, 3, 2
- use the tab's active() function to activate the 3rd tab. It will activate what is now visually the 2nd tab rather than the 3rd tab as should be expected.
Attachments (0)
Change History (2)
Changed August 22, 2015 06:11PM UTC by comment:1
Changed August 23, 2015 10:23PM UTC by comment:2
component: | ui.core → ui.tabs |
---|---|
resolution: | → worksforme |
status: | new → closed |
That's correct. The tabs widget has no idea that you've changed anything. You need to call the refresh
method after sorting. Please see http://jqueryui.com/tabs/#sortable
My apologies, I'm unable to modify this ticket to update the component correctly to ui.tabs. I also tried deleting this ticket but there does not seem to be functionality accessible for me to do that either.