Opened 15 years ago
Closed 15 years ago
#1982 closed bug (fixed)
Adding and removing tabs repeatedly results in inoperable tabs
Reported by: | klaus | Owned by: | klaus |
---|---|---|---|
Priority: | major | Milestone: | 1.2.2 |
Component: | ui | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Test:
$(function() { $('#container-9 ul').tabs({ disabled: [3], fxFade: true, fxFade: true, fxSpeed: 'fast', cache: true }); $('<p><a href="#">Remove 2nd tab (error: you cannot switch to tab 4)<\/a><\/p>').prependTo('#fragment-22').find('a').click(function() { $('#container-9 ul').tabsRemove(2); return false; }); $('<p><a href="#">Add new tab<\/a><\/p>').prependTo('#fragment-22').find('a').click(function() { $('#container-9 ul').tabsAdd('test3.html','tab 4'); return false; }); $('<p><a href="#">Remove 2nd tab<\/a><\/p>').prependTo('#fragment-22').find('a').click(function() { $('#container-9 ul').tabsRemove(2); return false; }); $('<p><a href="#">Add 2 tabs<\/a><\/p>').prependTo('#fragment-22').find('a').click(function() { $('#container-9 ul').tabsAdd('test1.html','tab 2'); $('#container-9 ul').tabsAdd('test2.html','tab 3'); return false; }); });
Note: See
TracTickets for help on using
tickets.
r3976