Skip to content

Commit

Permalink
Merge pull request #99 from KyleScharnhorst/fix_sort_by_input
Browse files Browse the repository at this point in the history
Fix: SortByInputOrder remove would unorder list
  • Loading branch information
voogryk committed Jul 28, 2016
2 parents 534e15a + ad84b1b commit 5d12bfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jquery.bootstrap-duallistbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@
refreshSelects(dualListbox);
triggerChangeEvent(dualListbox);
sortOptions(dualListbox.elements.select1);
if(dualListbox.settings.sortByInputOrder){
sortOptionsByInputOrder(dualListbox.elements.select2);
}
}

function moveAll(dualListbox) {
Expand Down

0 comments on commit 5d12bfd

Please sign in to comment.