PDA

View Full Version : [FIXED-129] Ext.data.Connection's abort()



mvarshavsky
26 May 2011, 3:11 PM
abort : function(r) {
if (r && this.isLoading(r)) {
if (!request.timedout) {
request.aborted = true;
}
// Will fire an onreadystatechange event
r.xhr.abort();
}
else if (!r) {
var id;
for(id in this.requests) {
if (!this.requests.hasOwnProperty(id)) {
continue;
}
this.abort(this.requests[id]);
}
}
}


Uncaught ReferenceError: request is not defined on line 3, guessing because it should be referred to by 'r' instead

rdougan
3 Jun 2011, 3:19 PM
Thanks. I've reported this bug.

edspencer
5 Jul 2011, 1:44 PM
This is now fixed and will form part of Sencha Touch 1.1.1