Skip to content
Browse files

infowindow hang after login fix

  • Loading branch information...
1 parent b504718 commit 4a11c7e67736983cf21d8f130adfca7d7b089730 @kunaldi kunaldi committed Jan 24, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 app/assets/javascripts/main.js.erb
View
4 app/assets/javascripts/main.js.erb
@@ -92,6 +92,10 @@ $(function() {
function fetchSidewalkInfo(gid, pos) {
if (gid == undefined)
gid = activeObjectId;
+ if (gid == undefined) {
+ activeInfoWindow.close();
+ return false;
+ }
if (pos == undefined)
pos = map.getCenter();
//if (!window.console) console.info(e.latLng);

0 comments on commit 4a11c7e

Please sign in to comment.
Something went wrong with that request. Please try again.