[OpenStreetMap] #3797: Put autofocus on Search input field

OpenStreetMap trac at openstreetmap.org
Tue Jan 31 17:57:58 GMT 2012

#3797: Put autofocus on Search input field
 Reporter:  guerda       |       Owner:  rails-dev@…                
     Type:  enhancement  |      Status:  new                        
 Priority:  minor        |   Milestone:  Wishlist                   
Component:  website      |     Version:                             
 Keywords:               |  

Comment(by TomH):

 Couple of comments:

 * It would be better to use jQuery rather than non-portable document
 * There seems to be little benefit to using the HTML5 autofocus attribute
 - if we need the fallback code for other cases then we might as well just
 use it all the time

 At the end of the day, it will happen a lot quicker if you provide a patch
 for the source, otherwise you'll have to wait until somebody is interested
 enough to write one.

Ticket URL: <https://trac.openstreetmap.org/ticket/3797#comment:3>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world

More information about the rails-dev mailing list