Skip to main content

Search and Top Navigation

#6786 closed bug (duplicate)

Opened December 27, 2010 07:48PM UTC

Closed February 28, 2011 03:43PM UTC

Last modified February 28, 2011 03:43PM UTC

ui:tabs breaks when tab links contain dot

Reported by: fsologuren Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:
Description

Same problem that #2715, but developer only fixed problems with ':', not with '.'. Period also needs to be escaped in CSS selectors.

Preview: http://jsfiddle.net/qhSgY/2/

Suggestion:

        _sanitizeSelector: function( hash ) {
                // we need this because an id may contain a ":"
-               return hash.replace( /:/g, "\\\\:" );
+               return hash.replace( /:/g, "\\\\:" ).replace( /\\./g, "\\\\\\." );
        },
 
        _cookie: function() {
Attachments (0)
Change History (3)

Changed December 27, 2010 08:47PM UTC by fsologuren comment:1

Changed February 28, 2011 03:43PM UTC by scottgonzalez comment:2

resolution: → duplicate
status: newclosed

Changed February 28, 2011 03:43PM UTC by scottgonzalez comment:3

Duplicate of #4681.