From a9dcd2e683200f96b88c092b0a46ae40b3fdaa83 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Fri, 24 Feb 2012 17:25:47 -0200 Subject: [PATCH] Fix for the map search not showing the products correctly --- app/views/search/_google_maps.rhtml | 12 ++---------- app/views/search/_product.rhtml | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/app/views/search/_google_maps.rhtml b/app/views/search/_google_maps.rhtml index ace7851..aae0b53 100644 --- a/app/views/search/_google_maps.rhtml +++ b/app/views/search/_google_maps.rhtml @@ -3,28 +3,20 @@
-<%= content_tag('script', '', :src => GoogleMaps.api_url(environment.default_hostname), :type => 'text/javascript') %> +<%= content_tag('script', '', :src => "http://maps.google.com/maps/api/js?sensor=true", :type => 'text/javascript') %> <%= javascript_include_tag('google_maps') %> <% icon = default_or_themed_icon("/images/icons-map/enterprise.png") - icon_shadow = default_or_themed_icon("/images/icons-map/enterprise_shadow.png") %>