add abort method to wfs protocol, r=tschaub (closes #1943)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8933 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -323,6 +323,21 @@ OpenLayers.Protocol.WFS.v1 = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Method: abort
|
||||
* Abort an ongoing request, the response object passed to
|
||||
* this method must come from this protocol (as a result
|
||||
* of a read, or commit operation).
|
||||
*
|
||||
* Parameters:
|
||||
* response - {<OpenLayers.Protocol.Response>}
|
||||
*/
|
||||
abort: function(response) {
|
||||
if (response) {
|
||||
response.priv.abort();
|
||||
}
|
||||
},
|
||||
|
||||
CLASS_NAME: "OpenLayers.Protocol.WFS.v1"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user