Skip to content

Commit

Permalink
Deactivation of select control doesn't seem to be necessary anymore a…
Browse files Browse the repository at this point in the history
…nd causes issues
  • Loading branch information
Bart van den Eijnden committed Mar 9, 2015
1 parent d065ff7 commit 6b8b99c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/script/plugins/FeatureEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,13 +449,6 @@ gxp.plugins.FeatureEditor = Ext.extend(gxp.plugins.ClickableFeatures, {
}
var featureStore = featureManager.featureStore;
if(this._forcePopupForNoGeometry === true || (this.selectControl.active && feature.geometry !== null)) {
// deactivate select control so no other features can be
// selected until the popup is closed
if (this.readOnly === false && this.selectControl.active) {
this.selectControl.deactivate();
// deactivate will hide the layer, so show it again
featureManager.showLayer(this.id, this.showSelectedOnly && "selected");
}
popup = this.addOutput({
xtype: "gxp_featureeditpopup",
collapsible: true,
Expand Down

0 comments on commit 6b8b99c

Please sign in to comment.