Skip to main content

Search and Top Navigation

#4932 closed bug (worksforme)

Opened October 29, 2009 06:01AM UTC

Closed May 17, 2011 05:53PM UTC

Last modified October 03, 2012 05:00PM UTC

.add'ing a tab with a bad url causes odd behavior

Reported by: Palamedes Owned by:
Priority: minor Milestone: 1.8
Component: ui.tabs Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

I have 4 tabs;

$("#tabs").tabs("add", "#tab01", "First Tab", 0);

$("#tabs").tabs("add", "/bad/file/location.html", "Second Tab", 1);

$("#tabs").tabs("add", "#tab03", "Third Tab", 2);

$("#tabs").tabs("add", "#tab04", "Fourth Tab", 3);

While the tabs do create, clicking on them doesn't navigate through them as you would expect. You have to click to the third one to go to the second, 4th to the 3rd.. click the 4th again to go to the 4th.. *boggle* etc..

I am using 1.7 not sure if this was addressed already.

Attachments (0)
Change History (4)

Changed October 29, 2009 06:02AM UTC by Palamedes comment:1

Here's the code block a little easier to read..

$("#tabs").tabs("add", "#tab01", "First Tab", 0); 
$("#tabs").tabs("add", "/bad/file/location.html", "Second Tab", 1); 
$("#tabs").tabs("add", "#tab03", "Third Tab", 2); 
$("#tabs").tabs("add", "#tab04", "Fourth Tab", 3); 

Changed November 17, 2009 06:09PM UTC by jzaefferer comment:2

milestone: TBD1.next

Error handling in general needs to be improved.

Changed May 17, 2011 05:53PM UTC by scottgonzalez comment:3

resolution: → worksforme
status: newclosed

This works for me. Please provide a reduced test case if you're still having problems.

Changed October 03, 2012 05:00PM UTC by scottgonzalez comment:4

milestone: 1.next1.8