AnsweredAssumed Answered

Any way to hide an infoWindow on a mouse click?

Question asked by crackernutter on May 13, 2012
Latest reply on May 23, 2012 by
Was curious if anyone's found a way to hide an infoWindow when a user clicks outside the infoWindow (instead of having to click the "x" or click on another map graphic which displays another infoWindow. 
I tried setting a dojo.connect event handlers like dojo.connect(map, "onClick", map.infoWindow.hide()); but that doesn't seem to work.