fix for #628. Up/down key arrows should work better in autocomplete

required a change in the control.js from rails / scipt.aculos.us so we need to check for regression on upgrade
found fix here: http://dev.rubyonrails.org/ticket/8148
This commit is contained in:
Reinier Balt 2008-08-25 16:03:24 +02:00
parent fceb5a7503
commit 73765c184d

View file

@ -211,7 +211,7 @@ Autocompleter.Base = Class.create({
markPrevious: function() {
if(this.index > 0) this.index--
else this.index = this.entryCount-1;
this.getEntry(this.index).scrollIntoView(true);
this.getEntry(this.index).scrollIntoView(false);
},
markNext: function() {