mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
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:
parent
fceb5a7503
commit
73765c184d
1 changed files with 1 additions and 1 deletions
2
public/javascripts/controls.js
vendored
2
public/javascripts/controls.js
vendored
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue