[seam-commits] Seam SVN: r9878 - trunk/src/remoting/org/jboss/seam/remoting.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Jan 6 18:57:08 EST 2009


Author: shane.bryzak at jboss.com
Date: 2009-01-06 18:57:08 -0500 (Tue, 06 Jan 2009)
New Revision: 9878

Modified:
   trunk/src/remoting/org/jboss/seam/remoting/remote.js
Log:
fixed incorrect variable names

Modified: trunk/src/remoting/org/jboss/seam/remoting/remote.js
===================================================================
--- trunk/src/remoting/org/jboss/seam/remoting/remote.js	2009-01-06 22:42:14 UTC (rev 9877)
+++ trunk/src/remoting/org/jboss/seam/remoting/remote.js	2009-01-06 23:57:08 UTC (rev 9878)
@@ -656,7 +656,7 @@
       if (inScope) Seam.Remoting.hideLoadingMessage();
       
       window.setTimeout(function() {
-        req.onreadystatechange = function() {};
+        asyncReq.onreadystatechange = function() {};
       }, 0);
   
       if (asyncReq.status == 200)
@@ -692,7 +692,7 @@
         }
       }
       else
-        alert("There was an error processing your request.  Error code: " + req.status);
+        alert("There was an error processing your request.  Error code: " + asyncReq.status);
     }
     
   }




More information about the seam-commits mailing list