Permalink
Browse files

Nuked autocomplete's display_on_down_arrow option, for now

  • Loading branch information...
1 parent f3dee1e commit cc0ec8971f46d1488a95c3a4653261b832069ec7 @rfletcher committed Mar 19, 2009
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/lib/Tagbox.Autocomplete.js
@@ -8,14 +8,10 @@ Tagbox.Autocomplete = Class.create( {
* A Hash of options for this Tagbox.Autocomplete instance. Properties
* are:
*
- * display_on_down_arrow (Boolean) = true:
- * Display the unfiltered list of tags when the user presses the down
- * arrow and the text input is empty.
* max_results (Boolean) = 10:
* Maximum number of results to show in the autocomplete list.
**/
options: {
- display_on_down_arrow: true,
max_results: 6
},
@@ -179,12 +175,6 @@ Tagbox.Autocomplete = Class.create( {
}
switch( e.which ? e.which : e.keyCode ) {
- case Event.KEY_DOWN:
- if( ! this.element.visible() && this.options.get( 'display_on_down_arrow' ) ) {
- this.show();
- }
- this.next();
- break;
case Event.KEY_UP:
this.previous();
break;

0 comments on commit cc0ec89

Please sign in to comment.