git-svn-id: http://svn.openlayers.org/trunk/openlayers@8420 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -441,6 +441,21 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
return resp;
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: abort
|
||||
* Abort an ongoing request, the response object passed to
|
||||
* this method must come from this HTTP protocol (as a result
|
||||
* of a create, read, update, delete or commit operation).
|
||||
*
|
||||
* Parameters:
|
||||
* response - {<OpenLayers.Protocol.Response>}
|
||||
*/
|
||||
abort: function(response) {
|
||||
if (response) {
|
||||
response.priv.abort();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: callUserCallback
|
||||
* This method is used from within the commit method each time an
|
||||
|
||||
Reference in New Issue
Block a user