Merge branch 'master' into zoom

This commit is contained in:
Tim Schaub
2012-03-02 21:26:58 -07:00
5 changed files with 15 additions and 10 deletions

View File

@@ -685,7 +685,9 @@ OpenLayers.Popup = OpenLayers.Class({
// 'img' properties in the context.
//
var onImgLoad = function() {
if (this.popup.id === null) { // this.popup has been destroyed!
return;
}
this.popup.updateSize();
if ( this.popup.visible() && this.popup.panMapIfOutOfView ) {