Ticket #5122 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:


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

comment:1 Changed 6 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r3784.

comment:3 Changed 5 years ago by rdworth

  • Summary changed from Bug in ui.tabs to Bug in ui.tabs selected tab detection
Note: See TracTickets for help on using tickets.