OpenLayers OpenLayers

Changeset 6406

Show
Ignore:
Timestamp:
02/28/08 18:37:02 (9 months ago)
Author:
euzuro
Message:

let us not assume there is a close box on our popup. thanks for the tip, bart.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/pop/lib/OpenLayers/Popup/Framed.js

    r6304 r6406  
    246246         
    247247        //update the position of our close box to new padding 
    248         this.closeDiv.style.right = this.padding.right - 30 + "px"; 
    249         this.closeDiv.style.top = this.padding.top + "px"; 
    250          
     248        if (this.closeDiv) { 
     249            this.closeDiv.style.right = this.padding.right - 30 + "px"; 
     250            this.closeDiv.style.top = this.padding.top + "px"; 
     251        }         
    251252    }, 
    252253