Selectmenu: alphabetical ordering of options and callback events

This commit is contained in:
Felix Nagel 2012-11-29 19:43:36 +01:00
parent 8a62210538
commit b014bc6245

View File

@ -20,19 +20,20 @@ $.widget( "ui.selectmenu", {
version: "@VERSION", version: "@VERSION",
defaultElement: "<select>", defaultElement: "<select>",
options: { options: {
dropdown: true,
appendTo: "body", appendTo: "body",
dropdown: true,
position: { position: {
my: "left top", my: "left top",
at: "left bottom", at: "left bottom",
collision: "none" collision: "none"
}, },
// callbacks // callbacks
open: null, change: null,
focus: null,
select: null,
close: null, close: null,
change: null focus: null,
open: null,
select: null
}, },
_create: function() { _create: function() {