Skip to content

Commit

Permalink
Fix getXMLHttpRequest vs new XMLHttpRequest
Browse files Browse the repository at this point in the history
I have never ever heard of getXMLHttpRequest.

refs #8626
  • Loading branch information
lippserd committed Mar 11, 2015
1 parent 8434815 commit 8df9520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/scripts/authentication/logout.phtml
Expand Up @@ -34,7 +34,7 @@
if (navigator.userAgent.toLowerCase().indexOf('msie') !== -1) {
document.execCommand('ClearAuthenticationCache');
} else {
var xhttp = getXMLHttpRequest();
var xhttp = new XMLHttpRequest();
xhttp.open('GET', 'arbitrary url', true, 'logout', 'logout');
xhttp.send('');
xhttp.abort();
Expand Down

0 comments on commit 8df9520

Please sign in to comment.