Skip to content

Commit

Permalink
Merge pull request #73 from ekohl/submit-form
Browse files Browse the repository at this point in the history
Allow users to submit the form
  • Loading branch information
jpic committed Dec 4, 2012
2 parents 591292b + 00f1fde commit bfc5b2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autocomplete_light/static/autocomplete_light/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ window.yourlabs.Autocomplete = function (input) {
this.input.trigger('selectChoice',
[choice, this]);
this.hide();
} else {
$(this.input).parent('form').submit();
}
break;
// On KEY_UP, call move()
Expand Down

0 comments on commit bfc5b2e

Please sign in to comment.