incorporate @ahocevar's review
This commit is contained in:
@@ -221,7 +221,7 @@ OpenLayers.Strategy.BBOX = OpenLayers.Class(OpenLayers.Strategy, {
|
|||||||
* returned by the layer protocol.
|
* returned by the layer protocol.
|
||||||
*/
|
*/
|
||||||
triggerRead: function(options) {
|
triggerRead: function(options) {
|
||||||
if (this.response && options.noAbort !== true) {
|
if (this.response && !(options && options.noAbort === true)) {
|
||||||
this.layer.protocol.abort(this.response);
|
this.layer.protocol.abort(this.response);
|
||||||
this.layer.events.triggerEvent("loadend");
|
this.layer.events.triggerEvent("loadend");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user