Permalink
Browse files

Updated infobox to contain link to individual details page.

  • Loading branch information...
1 parent 240e541 commit 070b66f56ad94f9d45c861dfc8bbf5c792366201 @jymian jymian committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/main.js
View
@@ -62,7 +62,7 @@ function processResults(items, addToTable)
google.maps.event.addListener(marker, 'click', function() {
var infowindow = new google.maps.InfoWindow();
- infowindow.setContent(item.address + ' : ' + '€' + item.price );
+ infowindow.setContent('<a href="house.php?id='+ item.id +'">' + item.address + '</a>' + ' : ' + '&euro;' + item.price );
infowindow.open(map,marker);
});

0 comments on commit 070b66f

Please sign in to comment.