Opened 15 years ago

Closed 15 years ago

Last modified 14 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.5
Component: ui.core 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;
                });
            });

Change History (3)

comment:1 Changed 15 years ago by klaus

Resolution: fixed
Status: newclosed

comment:2 Changed 15 years ago by (none)

Milestone: 1.2.2

Milestone 1.2.2 deleted

comment:3 Changed 14 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.