[jboss-jira] [JBoss JIRA] Closed: (JBSEAM-267) Seam.Remoting.cancelCall sometimes pops up error message on IE

Gavin King (JIRA) jira-events at jboss.com
Wed Jul 12 15:11:15 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBSEAM-267?page=all ]

Gavin King closed JBSEAM-267.
-----------------------------

    Fix Version/s: 1.1
       Resolution: Done
         Assignee: Sacha Labourey

Fixed by Shane

> Seam.Remoting.cancelCall sometimes pops up error message on IE
> --------------------------------------------------------------
>
>                 Key: JBSEAM-267
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-267
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Remoting
>         Environment: IE 6, latest Seam CVS on 6/16/06
>            Reporter: Keith Naas
>         Assigned To: Sacha Labourey
>            Priority: Minor
>             Fix For: 1.1
>
>
> If we need to cancel a remote call from the client, we simply call Seam.Remoting.cancelCall(call.id).
> However, on IE, sometimes it still calls the onreadystatechange handler with a readystate of 4.  This ends up causing a popup alert saying "There was an error during your request.  Error code: 0".  
> In order to fix this, we adjusted the cancelCall method to use an empty onreadystatechange function before calling abort.

-- 
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 jboss-jira mailing list