Ticket #368 (closed defect: fixed)
Upgrad sarissa and avoid MSXML blocking ActiveX in IE 7
| Reported by: | ksgeograf | Owned by: | |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.0 |
| Component: | AJAX Viewer | Version: | 2.0.0 |
| Severity: | minor | Keywords: | sarissa ie7 MSXML blocked |
| Cc: | External ID: |
Description
In ajaxmappane.templ, line 2512 the following code is found:
function CreateRequestHandler()
{
if(msie)
return new ActiveXObject("Microsoft.XMLHTTP");
else
return new XMLHttpRequest();
}
This does not work in IE 7, where ActiveX is disabled. IE 7 has a built in XMLHttpRequest so the specialization does not make sense for IE 7. Further, the included Sarissa includes a wrapper, so IE 5 & 6 can also use a XMLHttpRequest without the special case. In short, the above code can be reduced to:
function CreateRequestHandler()
{
return new XMLHttpRequest();
}
I have also tested the most recent sarissa (0.9.9) and it works without modification. The current version is 0.9.6.1.
Change History
Note: See
TracTickets for help on using
tickets.
