Update stores.js
Phone number is already in the address field
This commit is contained in:
@@ -113,7 +113,7 @@ function searchLocationsNear(center)
|
|||||||
createMarker(latlng, name, address, other, id_store, has_store_picture);
|
createMarker(latlng, name, address, other, id_store, has_store_picture);
|
||||||
bounds.extend(latlng);
|
bounds.extend(latlng);
|
||||||
|
|
||||||
$('#stores-table tr:last').after('<tr class="node"><td class="num">'+parseInt(i + 1)+'</td><td><b>'+name+'</b>'+(has_store_picture === 1 ? '<br /><img src="'+img_store_dir+parseInt(id_store)+'-medium.jpg" alt="" />' : '')+'</td><td>'+address+(phone !== '' ? '<br /><br />'+translation_4+' '+phone : '')+'</td><td class="distance">'+distance+' '+distance_unit+'</td></tr>');
|
$('#stores-table tr:last').after('<tr class="node"><td class="num">'+parseInt(i + 1)+'</td><td><b>'+name+'</b>'+(has_store_picture === 1 ? '<br /><img src="'+img_store_dir+parseInt(id_store)+'-medium.jpg" alt="" />' : '')+'</td><td>'+address+'</td><td class="distance">'+distance+' '+distance_unit+'</td></tr>');
|
||||||
$('#stores-table').show();
|
$('#stores-table').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user