Browse Source

Adds selected item to callback for dropdown onChange

pull/1129/head
jlukic 10 years ago
parent
commit
1918957d45
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/dropdown.js

2
src/definitions/modules/dropdown.js

@ -499,7 +499,7 @@ $.fn.dropdown = function(parameters) {
callback = function() {
$search.val('');
module.determine.selectAction(text, value);
$.proxy(settings.onChange, $choice[0])(value, text);
$.proxy(settings.onChange, element)(value, text, $choice);
},
openingSubMenu = ($choice.find(selector.menu).size() > 0)
;

Loading…
Cancel
Save