[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1271) setting onreadystatechange to null causing error in IE6
Keith Naas (JIRA)
jira-events at lists.jboss.org
Mon Apr 30 19:41:30 EDT 2007
setting onreadystatechange to null causing error in IE6
-------------------------------------------------------
Key: JBSEAM-1271
URL: http://jira.jboss.com/jira/browse/JBSEAM-1271
Project: JBoss Seam
Issue Type: Bug
Components: Remoting
Environment: IE6
Reporter: Keith Naas
Assigned To: Shane Bryzak
Fix For: 1.2.1.GA
When testing remoting in IE6, we noticed a reoccurrence of the old IE remoting bug JBSEAM-267.
For a good explanation of how to workaround this, see: http://www.quirksmode.org/blog/archives/2005/09/xmlhttp_notes_a_1.html
Here is the patched remote.js
### Eclipse Workspace Patch 1.0
#P jboss-seam
Index: src/remoting/org/jboss/seam/remoting/remote.js
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/remote.js,v
retrieving revision 1.2
diff -u -r1.2 remote.js
--- src/remoting/org/jboss/seam/remoting/remote.js 24 Apr 2007 23:52:34 -0000 1.2
+++ src/remoting/org/jboss/seam/remoting/remote.js 30 Apr 2007 23:38:07 -0000
@@ -604,7 +604,7 @@
if (req.readyState == 4)
{
Seam.Remoting.hideLoadingMessage();
- req.onreadystatechange = null;
+ req.onreadystatechange = function() {};
if (req.status == 200)
{
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list