Skip to main content

Search and Top Navigation

#12262 closed bug (duplicate)

Opened April 24, 2015 01:19PM UTC

Closed April 24, 2015 01:21PM UTC

Selectmenu calling refresh with no options throws expection

Reported by: jeffpizza Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:

If you create a selectmenu with no options and call refresh, you get an exception.

Stack Trace:

Uncaught TypeError: Cannot read property 'eq' of undefined
$.widget._getSelectedItem @ jquery-ui.js:12513
(anonymous function) @ jquery-ui.js:415
$.widget.refresh @ jquery-ui.js:12362
(anonymous function) @ jquery-ui.js:415
(anonymous function) @ jquery-ui.js:508
jQuery.extend.each @ jquery-1.11.0.js:384
jQuery.fn.jQuery.each @ jquery-1.11.0.js:137
$.widget.bridge.$.fn.(anonymous function) @ jquery-ui.js:494(
anonymous function) @ (index):31 @ jquery-1.11.0.js:3099
jQuery.Callbacks.self.fireWith @ jquery-1.11.0.js:3211
jQuery.extend.ready @ jquery-1.11.0.js:3423
completed @ jquery-1.11.0.js:3453

Might be related to this previous bug?

Attachments (0)
Change History (1)

Changed April 24, 2015 01:21PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Duplicate of #10662.Not related, it's exactly that bug. See the milestone on the ticket.