Ticket #90: ticket90.patch

File ticket90.patch, 0.7 kB (added by bartvde, 1 year ago)

patch fixing the issue, depends on OL ticket 2136

  • lib/GeoExt/data/LayerStore.js

    old new  
    155155            "clear": this.onClear, 
    156156            "add": this.onAdd, 
    157157            "remove": this.onRemove, 
     158            "beforedestroy": this.unbind, 
    158159            scope: this 
    159160        }); 
    160161        this.data.on({ 
     
    172173                "changelayer": this.onChangeLayer, 
    173174                "addlayer": this.onAddLayer, 
    174175                "removelayer": this.onRemoveLayer, 
     176                "beforedestroy": this.unbind, 
    175177                scope: this 
    176178            }); 
    177179            this.un("load", this.onLoad, this);