[-] FO: Fix PSCFV-2766 logo store cannot be changed

This commit is contained in:
rGaillard
2012-06-22 09:55:05 +00:00
parent cc441b4c1b
commit 34e2979295
7 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ function searchLocationsNear(center)
function createMarker(latlng, name, address, other, id_store, has_store_picture)
{
var html = '<b>'+name+'</b><br/>'+address+(has_store_picture == 1 ? '<br /><br /><img src="'+img_store_dir+parseInt(id_store)+'-medium.jpg" alt="" />' : '')+other+'<br /><a href="http://maps.google.com/maps?saddr=&daddr='+latlng+'" target="_blank">'+translation_5+'<\/a>';
var image = new google.maps.MarkerImage(img_ps_dir+'logo_stores.gif');
var image = new google.maps.MarkerImage(img_ps_dir+logo_store);
if (hasStoreIcon)
var marker = new google.maps.Marker({ map: map, icon: image, position: latlng });
else
+1
View File
@@ -69,6 +69,7 @@
var img_store_dir = '{$img_store_dir}';
var img_ps_dir = '{$img_ps_dir}';
var searchUrl = '{$searchUrl}';
var logo_store = '{$logo_store}';
//]]>
</script>