XHR-Multipart readyState fix

This commit is contained in:
Guillermo Rauch
2010-03-17 12:13:20 -07:00
parent f8350592bb
commit f30f50376c

View File

@@ -7,7 +7,6 @@ io.Transport['xhr-multipart'] = io.Transport.XHR.extend({
this._xhr = this._request('', 'GET', true);
this._xhr.onreadystatechange = function(){
if (self._xhr.readyState == 3) self._onData(self._xhr.responseText);
else if (self._xhr.status == 200 && self._xhr.readyState == 4) self.connect();
};
this._xhr.send();
}