When using Autologout on IE7 it threw an 'expected identifier, string or number' error pointing to line 52 of file autologout.js.

The problem is due to a , in line 52. There's also a , in line 56 that must be removed.

These lines must read:

      error: function(XMLHttpRequest, textStatus) {
        alert('There has been an error resetting your last access time: ' + textStatus + '.')
      }

AND

      error: function(XMLHttpRequest, textStatus) {
        alert('There has been an error attempting to logout: ' + textStatus + '.')
      }

Observe that the commas has been removed.

Comments

skizzo’s picture

Version: 6.x-4.0 » 6.x-4.x-dev

changing version

tanjerine’s picture

It happens on Chrome too and your fix fixed it.

Thanks!

carvalhar’s picture

Status: Active » Reviewed & tested by the community

worked for me, should be added on code!

jrglasgow’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kevin.dutra’s picture

Status: Closed (fixed) » Active

It looks like this fix got wiped out when the role/user functionality got introduced to 6.x-4.0 branch (commit 26ef03d4199d98a873ee937c8f036320f94afe88).

johnennew’s picture

Status: Active » Fixed

I'm not seeing this anymore, must have been cleaned up in the latest round of fixes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.