Changeset 1198
- Timestamp:
- 10/14/08 16:09:56 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/camptocamp/MapFishUnhcr/client/mfbase/mapfish/widgets/editing/FeatureEditingPanel.js
r1133 r1198 411 411 } 412 412 ); 413 // the modify feature control's deactivate method calls selectControl.unselect 414 // if a feature is being modified, this causes problem if that feature isn't 415 // known by the vector layer 416 this.modifyControl.layer.events.on({ 417 featureremoved: function(obj) { 418 if (obj.feature == this.feature) { 419 this.feature = null; 420 } 421 }, 422 scope: this.modifyControl 423 }); 413 424 414 425 this.drawFeatureControl = new OpenLayers.Control.DrawFeature(