Skip Menu |

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

Report information
The Basics
Id: 50698
Status: new
Priority: 0/
Queue: Apache2-Ajax

People
Owner: Nobody in particular
Requestors: brunisergio [...] gmail.com
Cc:
AdminCc:

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



Subject: problem in generated code by apache2::ajax
Date: Wed, 21 Oct 2009 10:58:09 +0200
To: bug-Apache2-Ajax [...] rt.cpan.org
From: Sergio Bruni <brunisergio [...] gmail.com>
Hi ser I'm using the module Apache2-Ajax-0.11 with perl v5.8.8. Using Internet Explorer 8 I obtain the error: Object doesn't support this property or method After some code inspecting, I found the error in the following generated funcion; var ghr=getghr(); function getghr(){ *if(typeof XMLHttpRequest != "undefined") { * return function(){ *return new XMLHttpRequest();* } } var msv= ["Msxml2.XMLHTTP.7.0", "Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.5.0", "Msxml2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"]; for(var j=0;j<=msv.length;j++){ try { A = new ActiveXObject(msv[j]); if(A){ return function(){ return new ActiveXObject(msv[j]); } } } catch(e) { } } return false; } the error arise in the bolded statement; I have modified the underlined statement in the following manner: if(typeof XMLHttpRequest == "undefined") { and the error disappear. Thanks in advance for any help best regards Sergio Bruni