Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

infowindow hang after login fix

  • Loading branch information...
commit 4a11c7e67736983cf21d8f130adfca7d7b089730 1 parent b504718
@kunaldi kunaldi authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.