X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06b2d278ea6c273c7e4e01c6f28bb46505efd6d1..c322b0c298ddbf11fdd2c7cf541cefde0f2b5e55:/app/views/geocoder/results.html.erb?ds=sidebyside 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 %>