Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#5122 closed bug (fixed)

Bug in ui.tabs selected tab detection

Reported by: th3br41n Owned by:
Priority: minor Milestone: 1.8
Component: ui.tabs Version: 1.8rc1
Keywords: cookie Cc:
Blocked by: Blocking:

Description

This bug causes a problem when memorizing the opened tab using cookies.

To be more specific, line 172 of jquery.ui.tabs.js should be:

o.selected = o.selected
(this.lis.length ? 0 : -1);

it is clear that the actual line has a problem, since

o.selected = o.selected
this.lis.length ? 0 : -1;

is equivalent to

o.selected = (o.selected
this.lis.length) ? 0 : -1;

(at least in Firefox)

Change History (3)

comment:1 Changed 13 years ago by Scott González

Milestone: TBD1.8

comment:2 Changed 13 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r3784.

comment:3 Changed 13 years ago by rdworth

Summary: Bug in ui.tabsBug in ui.tabs selected tab detection
Note: See TracTickets for help on using tickets.