diff --git a/src/jquery.bootstrap-duallistbox.js b/src/jquery.bootstrap-duallistbox.js index 93e0423..14d1469 100644 --- a/src/jquery.bootstrap-duallistbox.js +++ b/src/jquery.bootstrap-duallistbox.js @@ -168,7 +168,9 @@ return; } - saveSelections(dualListbox, selectIndex); + if (!dualListbox.settings.moveOnSelect) { + saveSelections(dualListbox, selectIndex); + } dualListbox.elements['select'+selectIndex].empty().scrollTop(0); var regex,