Browse files

Selectmenu: alphabetical ordering of options and callback events

  • Loading branch information...
1 parent 8a62210 commit b014bc62456b0566489033dd23b1cade5c328c4e @fnagel fnagel committed Nov 29, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 ui/jquery.ui.selectmenu.js
View
11 ui/jquery.ui.selectmenu.js
@@ -20,19 +20,20 @@ $.widget( "ui.selectmenu", {
version: "@VERSION",
defaultElement: "<select>",
options: {
- dropdown: true,
appendTo: "body",
+ dropdown: true,
position: {
my: "left top",
at: "left bottom",
collision: "none"
},
+
// callbacks
- open: null,
- focus: null,
- select: null,
+ change: null,
close: null,
- change: null
+ focus: null,
+ open: null,
+ select: null
},
_create: function() {

0 comments on commit b014bc6

Please sign in to comment.