Browse Source

Fixes dropdown to now set active item to whatever hidden input field is when using action updateForm

pull/129/head
jlukic 11 years ago
parent
commit
d813fa667c
1 changed files with 1 additions and 1 deletions
  1. 2
      src/modules/dropdown.js

2
src/modules/dropdown.js

@ -81,7 +81,7 @@ $.fn.dropdown = function(parameters) {
.on(settings.on + eventNamespace, module.toggle) .on(settings.on + eventNamespace, module.toggle)
; ;
} }
if(settings.action == 'form') {
if(settings.action == 'updateForm') {
module.set.selected(); module.set.selected();
} }
$item $item

Loading…
Cancel
Save