Skip to main content

Search and Top Navigation

#5122 closed bug (fixed)

Opened February 02, 2010 09:45PM UTC

Closed February 06, 2010 03:27AM UTC

Last modified February 16, 2010 11:23AM UTC

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)

Attachments (0)
Change History (3)

Changed February 04, 2010 02:44AM UTC by scottgonzalez comment:1

milestone: TBD1.8

Changed February 06, 2010 03:27AM UTC by scottgonzalez comment:2

resolution: → fixed
status: newclosed

Fixed in r3784.

Changed February 16, 2010 11:23AM UTC by rdworth comment:3

summary: Bug in ui.tabsBug in ui.tabs selected tab detection