X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64fb530581ffd21e2522e70e8a2d4c46d666f760..72984673067a37a1ea687709a33b18263f850633:/app/views/geocoder/results.html.erb 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 %>