Skip to content

Commit

Permalink
regenerated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
barberdt committed Oct 28, 2011
1 parent 09d1aa1 commit 6c3d6ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion js/bugstats.js
Expand Up @@ -236,8 +236,14 @@ connectedResource = function(toAppend) {
window[toAppend + '_longitude'] = null;
window[toAppend + '_latlng'] = new google.maps.LatLng(0,0);
window[toAppend + '_marker'] = new google.maps.Marker({position: window[toAppend + '_latlng'], map: null, title: toAppend});

if (hasName(toAppend)) {
markerResource = getName(toAppend);
} else {
markerResource = toAppend.slice(0,24) + '...';
}

contentString = 'Resource: ' + toAppend.slice(0,24) + '...';
contentString = 'Resource: ' + markerResource;
window[toAppend + '_infowindow'] = new google.maps.InfoWindow({content: contentString});
google.maps.event.addListener(window[toAppend + '_marker'], 'click', function() {
window[toAppend + '_infowindow'].open(map, window[toAppend + '_marker']);
Expand Down

0 comments on commit 6c3d6ff

Please sign in to comment.