Permalink
Browse files

fix keyboard selection

  • Loading branch information...
1 parent 3b0f357 commit 788d3b118235e4f756c3d05c125283b264b9bd31 @lou committed Dec 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/jquery.multi-select.js
@@ -218,9 +218,9 @@
if (liFocused.length >0){
var method = keyContainer == 'ms-selectable' ? 'select' : 'deselect';
if (keyContainer == 'ms-selectable'){
- that.select(liFocused.attr('id').replace('-selectable', ''));
+ that.select(liFocused.data('ms-value'));
} else {
- that.deselect(liFocused.attr('id').replace('-selection', ''));
+ that.deselect(liFocused.data('ms-value'));
}
lis.removeClass('ms-hover');
that.scrollTo = 0;

0 comments on commit 788d3b1

Please sign in to comment.