Skip Menu |

This queue is for tickets about the CGI-Ajax CPAN distribution.

Report information
The Basics
Id: 17678
Status: new
Priority: 0/
Queue: CGI-Ajax

People
Owner: Nobody in particular
Requestors: gam3-pause [...] gam3.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.684
Fixed in: (no value)



Subject: Problem on IE - with patch
onreadystatechange is set too late.
Subject: cgi-ajax-ready.patch
--- Ajax.pm.orig 2006-02-16 09:32:49.000000000 -0500 +++ Ajax.pm 2006-02-16 09:33:57.000000000 -0500 @@ -747,9 +747,12 @@ pjx.prototype.send2perl=function() { var r = this.r; - var dt = this.dt; + var dt = this.dt; var url=this.url; var postdata; + + r.onreadystatechange=handleReturn; + if(this.method=="POST"){ var idx=url.indexOf('?'); postdata = url.substr(idx+1); @@ -763,7 +766,6 @@ if(this.method=="GET"){ r.send(null); } - r.onreadystatechange=handleReturn; }; handleReturn = function() {