Changeset 347


Ignore:
Timestamp:
04/03/09 18:15:39 (8 years ago)
Author:
tschaub
Message:

Names updated to reflect the latest patch for #37.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/opengeo/geoexplorer/lib/GeoExt/data/LayerStore.js

    r341 r347  
    9797            this.map = map;
    9898            map.events.on({
    99                 "changelayer": this.onLayerChange,
     99                "changelayer": this.onChangeLayer,
    100100                "addlayer": this.onAddLayer,
    101101                "removelayer": this.onRemoveLayer,
     
    117117        if(this.map) {
    118118            this.map.events.un({
    119                 "changelayer": this.onLayerChange,
     119                "changelayer": this.onChangeLayer,
    120120                "addlayer": this.onAddLayer,
    121121                "removelayer": this.onRemoveLayer,
     
    132132   
    133133    /**
    134      * Method: onLayerChange
     134     * Method: onChangeLayer
    135135     * Handler for layer changes.  When layer order changes, this moves the
    136136     *     appropriate record within the store.
     
    139139     * evt - {Object}
    140140     */
    141     onLayerChange: function(evt) {
     141    onChangeLayer: function(evt) {
    142142        var layer = evt.layer;
    143143        if(evt.property === "order") {
Note: See TracChangeset for help on using the changeset viewer.