X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a32033209545a69d60cbd551e6bd975cda64341..3e2d5275a8ee53fa3a7a5c5d4ae8956f22cef3f7:/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 + %>
+