error in trivantis.js when posting quiz results using IE8
November 16, 2012 12:00 AM
Hi!
We were testing some of our lessons in IE8 (FF, Chrome, and some others are fine, I don't have results for IE9 yet) and found that when the user clicks the button that posts the quiz data to our own server (CGI, not LMS), we get a javascript error in trivantis.js.
Is anyone else getting an error at this point?
(Note: We use an External HTML Object with some javascript to retrieve URL variables and make them available to Lectora.)
Looking at trivantis.js, it appears to be the line of code I highlighted in red below.
function getHTTP(dest, method, parms)
{
...
// branch for IE/Windows ActiveX version
if (!requestSent undefined
if (httpReq) {
[COLOR="#FF0000"] httpReq.open(method, dest, false);[/COLOR]
if( method == 'POST' ) {
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
}
httpReq.send(parms);
}
}
trivLogMsg( 'ReturnCode = ' + httpReq.status + ' Received Data [' + httpReq.responseText + ']', 8 );
return httpReq;
}
[/CODE]
The error message is "Permission denied"
Any ideas?
Dan[CODE]
function getHTTP(dest, method, parms)
{
...
// branch for IE/Windows ActiveX version
if (!requestSent undefined
if (httpReq) {
httpReq.open(method, dest, false);
if( method == 'POST' ) {
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
}
httpReq.send(parms);
}
}
trivLogMsg( 'ReturnCode = ' + httpReq.status + ' Received Data ', 8 );
return httpReq;
}
[/CODE]
The error message is "Permission denied"
Any ideas?
Dan
Discussions have been disabled for this post