Skip to main content

Bug Tracker

Side navigation

#1982 closed bug (fixed)

Opened November 28, 2007 11:30AM UTC

Closed November 29, 2007 03:01PM UTC

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;
                });
            });
Attachments (0)
Change History (1)

Changed November 29, 2007 03:01PM UTC by klaus comment:1

resolution: → fixed
status: newclosed

r3976