Skip to main content

Bug Tracker

Side navigation

#12612 closed bug (notabug)

Opened September 26, 2012 06:23AM UTC

Closed September 27, 2012 01:22AM UTC

Error: Syntax error, unrecognized expression

Reported by: sam.razialruh@dat.de 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.

Attachments (0)
Change History (1)

Changed September 27, 2012 01:22AM UTC by dmethvin comment:1

cc: → scott_gonzalez
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.