fix semicolons and remove a global var
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10126 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -209,8 +209,8 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
|
||||
if(this.click) {
|
||||
this.handlers.click = new OpenLayers.Handler.Click(this,
|
||||
{click: this.selectSingle}, this.handlerOptions.click || {})
|
||||
};
|
||||
{click: this.selectSingle}, this.handlerOptions.click || {});
|
||||
}
|
||||
|
||||
if(this.box) {
|
||||
this.handlers.box = new OpenLayers.Handler.Box(
|
||||
@@ -425,7 +425,7 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
} else {
|
||||
this.select(resultFeature || features);
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -439,7 +439,7 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
this.modifiers = {
|
||||
multiple: this.multiple || (this.multipleKey && evt[this.multipleKey]),
|
||||
toggle: this.toggle || (this.toggleKey && evt[this.toggleKey])
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -458,7 +458,7 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
features = [features];
|
||||
}
|
||||
|
||||
cont = this.events.triggerEvent("beforefeaturesselected", {
|
||||
var cont = this.events.triggerEvent("beforefeaturesselected", {
|
||||
features: features
|
||||
});
|
||||
if(cont !== false) {
|
||||
|
||||
Reference in New Issue
Block a user