OpenLayers OpenLayers

Changeset 6703

Show
Ignore:
Timestamp:
03/29/08 12:36:41 (10 months ago)
Author:
euzuro
Message:

fix errors in destroy chain process

Files:

Legend:

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

    r6691 r6703  
    6161        this.relativePosition = null; 
    6262         
    63         OpenLayers.Popup.prototype.destroy.apply(this, arguments());         
     63        OpenLayers.Popup.prototype.destroy.apply(this, arguments);         
    6464    }, 
    6565 
  • sandbox/euzuro/pop/lib/OpenLayers/Popup/Framed.js

    r6692 r6703  
    138138        //remove our blocks 
    139139        for(var i = 0; i < this.blocks.length; i++) { 
    140             var block = this.blocks[j]; 
     140            var block = this.blocks[i]; 
    141141 
    142142            if (block.image) { 
    143                 this.groupDiv.removeChild(block.image); 
     143                block.div.removeChild(block.image); 
    144144            } 
    145145            block.image = null;