What steps will reproduce the problem?
1. create a marker that opens an ExtInfoWindow on click, but closes the
ExtInfoWindow on double click.
2. double click on the marker.
3. a javascript error occurs because ExtInfoWindow.prototype.ajaxRequest_
does not test for ExtInfoWindow existence.
What is the expected output? What do you see instead?
The expected output is that no javascript error occurs. However, a
"getExtInfoWindow() has no properties" error occurs at the line "var
infoWindow =
document.getElementById(thisMap.getExtInfoWindow().infoWindowId_ +
'_contents');", because the ExtInfoWindow is already closed by the double
click action.
What version of the product are you using? On what operating system?
Release (1.0) Version of ExtInfoWindow.
Please provide any additional information below.
Put "if (thisMap.getExtInfoWindow() != null) {" before "var infoWindow =
document.getElementById(thisMap.getExtInfoWindow().infoWindowId_ +
'_contents');" and "}" after the resize action, and this issue is resolved.
Original issue reported on code.google.com by adwin.ti...@gmail.com on 11 Jan 2008 at 7:40
Original issue reported on code.google.com by
adwin.ti...@gmail.com
on 11 Jan 2008 at 7:40