Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12612 closed bug (notabug)

Error: Syntax error, unrecognized expression

Reported by: sam.razialruh@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc: scott_gonzalez
Blocked by: Blocking:

Description

What am i doing wrong here:

http://jsfiddle.net/7VqVE/

mouseover over 'selectmenu' causes error. it did work with 1.7.2.

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Cc: scott_gonzalez added
Resolution: notabug
Status: newclosed

This looks like an error in the jQuery UI selectmenu plugin (or at least fnagel's fork of it). The plugin is making use of the .selector property which is undocumented and unreliable.

https://github.com/fnagel/jquery-ui/blob/selectmenu/ui/jquery.ui.selectmenu.js#L353

The selector "li:not(.ui-selectmenu-group).slice(0,1)" is definitely invalid; it may not have thrown an error before 1.8 but I doubt it truly "worked". The .slice(0,1) part was probably ignored.

Note: See TracTickets for help on using tickets.