Browse files

Selectgroup: Force focus to placeholder after opening, ready to recei…

…ve input for typeahead searches.

Closes #2, which references an issue in Chrom on windows. Not extensively tested, but no untoward behaviour observed in IE8 or FF8.
  • Loading branch information...
1 parent 1b40843 commit d32cfc6813dfb09be643d9579e4315beed6adbc8 @Tryster committed Jan 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/jquery.ui.selectgroup.js
@@ -517,6 +517,7 @@
this._position();'aria-hidden', 'false');
this.isOpen = true;
+ this.placeholder[0].focus(); //Force focus back to the placeholder ready for any typeahead searches...
close: function() {
// Close the

0 comments on commit d32cfc6

Please sign in to comment.