Opened 9 years ago

Closed 8 years ago

Last modified 4 years ago

#2715 closed bug (fixed)

ui:tabs breaks when tab links contain colons

Reported by: mallenb Owned by: klaus.hartl
Priority: minor Milestone:
Component: ui.tabs Version: 1.5b4
Keywords: tabs Cc:
Blocked by: Blocking:


It appears that if my tab links contain colons, ui:tabs doesn't work. You get the exception 'jQuery UI Tabs: Mismatching fragment identifier.'

<div id="container-1">

<li><a href="#00:11:22:33:44:55"><span>00:11:22:33:44:55</span></a></
<li><a href="#aa:bb:cc:dd:ee:ff"><span>aa:bb:cc:dd:ee:ff</span></a></

<div id="00:11:22:33:44:55"">
<div id="aa:bb:cc:dd:ee:ff"">

Change History (10)

comment:1 Changed 9 years ago by mallenb

This is in Tabs 3.

comment:2 Changed 9 years ago by klaus

  • Owner changed from paul to klaus
  • Priority changed from major to minor

comment:3 Changed 9 years ago by anonymous

  • Milestone 1.2.3 deleted

Milestone 1.2.3 deleted

comment:4 Changed 9 years ago by paul

  • Component changed from ui.core to ui.tabs
  • Version changed from 1.2.3 to 1.5b4

comment:5 Changed 9 years ago by paul

  • Owner changed from klaus to klaus.hartl
  • Status changed from new to assigned

comment:6 Changed 9 years ago by klaus.hartl

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

=> First example ("00:11:22:33:44:55") is invalid.

comment:7 Changed 9 years ago by scottgonzalez

This problem occurs because the hash is used as a jQuery selector and the colons need to be escaped.

comment:8 Changed 9 years ago by Cloudream

  • Milestone set to TDB

comment:9 Changed 8 years ago by klaus.hartl

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

comment:10 Changed 4 years ago by scottgonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.