mozilla/mozillians — pull request #970 by wraybowling (2014-06-11 17:44:27+00:00)
Title: more responsive enter key on map search. added 'locate me' button.

Lots of UX improvements including
- pressing the Enter key fires off a request that automatically takes the first result once responses are loaded
- new ajax responses abort old ajax responses
- 'locate me' button
- a fix for 1022620 "Change map zoom setting based on available information (/user/edit page)" https://bugzilla.mozilla.org/show_bug.cgi?id=1022620
- removed redundant jumptoGeocode() function
- moved init code block inside reverseGeocode() to INIT section
- improved INIT logic when no coordinates found (runs a search with all available text)
- tons of cleanups & a few more code comments