Skip to main content

Search and Top Navigation

#1982 closed bug (fixed)

Opened November 28, 2007 11:30AM UTC

Closed November 29, 2007 03:01PM UTC

Last modified February 26, 2009 11:18AM UTC

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

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

resolution: → fixed
status: newclosed

r3976

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.2

Milestone 1.2.2 deleted

Changed February 26, 2009 11:18AM UTC by paul comment:3

milestone: → 1.5