OpenLayers OpenLayers

Changeset 7250

Show
Ignore:
Timestamp:
05/22/08 04:17:37 (8 months ago)
Author:
elemoine
Message:

sync with vector-behavior

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/camptocamp/unhcr/lib/OpenLayers/Strategy/Autosave.js

    r7237 r7250  
    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     
  • sandbox/camptocamp/unhcr/lib/OpenLayers/Strategy/Save.js

    r7237 r7250  
    1313        
    1414    /** 
    15      * Constructor: OpenLayers.Strategy.Fixed 
    16      * Create a new Fixed strategy. 
     15     * Constructor: OpenLayers.Strategy.Save 
     16     * Create a new Save strategy. 
    1717     * 
    1818     * Parameters: 
     
    138138                });     
    139139            } 
    140         } 
     140        }; 
    141141        
    142142        this.layer.protocol.commit(features, {callback: saveCallback, scope: this});