Opened 9 years ago

Closed 8 years ago

Last modified 6 years ago

#4932 closed bug (worksforme)

.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.

Change History (4)

comment:1 Changed 9 years ago by Palamedes

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); 

comment:2 Changed 9 years ago by Jörn Zaefferer

Milestone: TBD1.next

Error handling in general needs to be improved.

comment:3 Changed 8 years ago by Scott González

Resolution: worksforme
Status: newclosed

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

comment:4 Changed 6 years ago by Scott González

Milestone: 1.next1.8
Note: See TracTickets for help on using tickets.