localized geocoder search results
This commit is contained in:
parent
f1bb6df967
commit
bfdce9c933
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ class GeocoderController < ApplicationController
|
|||
require 'net/http'
|
||||
require 'rexml/document'
|
||||
|
||||
before_filter :set_locale
|
||||
|
||||
def search
|
||||
query = params[:query]
|
||||
results = Array.new
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<script type="text/javascript">
|
||||
<!--
|
||||
function startSearch() {
|
||||
updateSidebar("Search Results", "<p class='search_results_entry'>Searching...<\/p>");
|
||||
updateSidebar("<%= t 'site.sidebar.search_results' %>", "<p class='search_results_entry'><%= t 'site.search.searching' %><\/p>");
|
||||
|
||||
$("search_field").style.display = "none";
|
||||
$("search_active").style.display = "inline";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue