Closed (fixed)
Project:
Automated Logout
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2011 at 13:31 UTC
Updated:
24 May 2013 at 14:00 UTC
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
Comment #1
skizzo commentedchanging version
Comment #2
tanjerine commentedIt happens on Chrome too and your fix fixed it.
Thanks!
Comment #3
carvalhar commentedworked for me, should be added on code!
Comment #4
jrglasgow commentedI have committed this: http://drupal.org/commitlog/commit/1626/791828e6811c640b97101d61649bdf55...
Comment #6
kevin.dutra commentedIt looks like this fix got wiped out when the role/user functionality got introduced to 6.x-4.0 branch (commit 26ef03d4199d98a873ee937c8f036320f94afe88).
Comment #7
johnennew commentedI'm not seeing this anymore, must have been cleaned up in the latest round of fixes.