Update of /cvsroot/qooxdoo/qooxdoo/source/script/transport
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32197/source/script/transport
Modified Files:
Tag: renderer
QxXmlHttpTransport.js
Log Message:
Minor improvement
Index: QxXmlHttpTransport.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/transport/Attic/QxXmlHttpTransport.js,v
retrieving revision 1.1.2.17
retrieving revision 1.1.2.18
diff -u -d -r1.1.2.17 -r1.1.2.18
--- QxXmlHttpTransport.js 20 Jan 2006 14:42:18 -0000 1.1.2.17
+++ QxXmlHttpTransport.js 24 Jan 2006 09:40:59 -0000 1.1.2.18
@@ -327,7 +327,9 @@
proto._onreadystatechange = function(e)
{
- while (this._lastReadyState < this.getRequest().readyState) {
+ var vReadyState = this.getRequest().readyState;
+
+ while (this._lastReadyState < vReadyState) {
this.setState(QxXmlHttpTransport._nativeMap[++this._lastReadyState]);
};
};
|