innku/ofertashacker — pull request #16 by e3matheus (2012-12-10 06:09:00+00:00)
Title: Replaced change event for search in location autocomplete

When someone erased the location search and inmediately submited the form, the fields of the location were still being sent.

This is because the change event is asyncronous with the submit form, so the callback isn't called. By replacing the change event with the search one, the fields are updated everytime a search is taken place.