Browse Source

Adds #1351, set selected triggers onChange callback

pull/1378/head
jlukic 10 years ago
parent
commit
35f349fbb6
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/dropdown.js

2
src/definitions/modules/dropdown.js

@ -578,7 +578,6 @@ $.fn.dropdown = function(parameters) {
module.remove.searchTerm();
module.remove.filteredItem();
module.determine.selectAction(text, value);
$.proxy(settings.onChange, element)(value, text, $choice);
},
openingSubMenu = ($choice.find(selector.menu).size() > 0)
;
@ -944,6 +943,7 @@ $.fn.dropdown = function(parameters) {
.addClass(className.selected)
;
module.set.text(selectedText);
$.proxy(settings.onChange, element)(value, selectedText, $selectedItem);
}
}
},

Loading…
Cancel
Save