Javascript error

Description

The cas.js file contains an error that affects older IE browsers.

https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/js/cas.js

// This fails if window.console is undefined:
if (!window.console || window.console == {}) {
window.console.log = function() {};
}

// IMHO it should be:
if (!window.console) {
window.console = {};
}
if (!window.console.log) {
window.console.log = function() {};
}

Environment

None

Status

Assignee

Misagh Moayyed

Reporter

Menno Avegaart

Labels

None

Estimated End Date

None

Audience

None

Components

Fix versions

Affects versions

3.5.2

Priority

Major