OpenLayers OpenLayers

Changeset 7246

Show
Ignore:
Timestamp:
05/22/08 01:58:30 (6 months ago)
Author:
fredj
Message:

ND comment fix. make destroy() call the parent method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector-behavior/lib/OpenLayers/Strategy/Autosave.js

    r7233 r7246  
    44 
    55/** 
    6  * Class: OpenLayers.Strategy.Autosac
     6 * Class: OpenLayers.Strategy.Autosav
    77 * A strategy that commits modifications features whenever they are drawn or modified. 
    88 * 
    99 * Inherits from: 
    10  *  - OpenLayers.Strategy 
     10 *  - OpenLayers.Strategy.Save 
    1111 */ 
    1212OpenLayers.Strategy.Autosave = new OpenLayers.Class(OpenLayers.Strategy.Save, { 
     
    1414  
    1515    /** 
    16      * Constructor: OpenLayers.Strategy.Fixed 
    17      * Create a new Fixed strategy. 
     16     * Constructor: OpenLayers.Strategy.Autosave 
     17     * Create a new Autosave strategy. 
    1818     * 
    1919     * Parameters: 
     
    3333    destroy: function() { 
    3434 
    35         OpenLayers.Strategy.prototype.destroy.apply(this, arguments); 
     35        OpenLayers.Strategy.Save.prototype.destroy.apply(this, arguments); 
    3636    }, 
    3737