X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06b2d278ea6c273c7e4e01c6f28bb46505efd6d1..84db1d66b7d819a4a777d2b9e5909cffe82c514e:/app/views/geocoder/results.html.erb?ds=inline diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 70051c91c..694d0eadb 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -4,4 +4,18 @@ <% @results.each do |result| %>

<%= result_to_html(result) %>

<% end %> + <% if @more_params %> +
+

<%= + startSpinner = update_page do |page| + page.replace_html "search_more_#{@more_params.hash}", image_tag("searching.gif", :class => "search_searching") + end + + link_to_remote t('geocoder.results.more_results'), + :update => "search_more_#{@more_params.hash}", + :before => startSpinner, + :url => @more_params + %>

+
+ <% end %> <% end %>