Changeset 228


Ignore:
Timestamp:
03/16/09 22:22:32 (9 years ago)
Author:
tcoulter
Message:

Remove unneeded code; make store.removeAll() work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/opengeo/alachua/lib/GeoExt/layer/Vector.js

    r227 r228  
    4141   
    4242    onClear: function(store) {
    43         alert('asdfads');
    44        
     43        this.removeFeatures(this.features);
    4544    },
    4645   
    4746    onLoad: function(store, options) {
    48         //if (options.add == false) {
    49             this.removeFeatures(this.features);
    50         //}
     47        this.removeFeatures(this.features);
     48
    5149        store.each(function(record) {
    5250            this.addFeatures(this.getFeatureFromRecord(record));
Note: See TracChangeset for help on using the changeset viewer.