Hi,

I have some strange behaviour with the javascript part.
I log on then wait for the specified logout time, then the popup dialog appears, fine.
I click reset, then wait again for the specified logout time. Again the popup dialog appears, and I click on reset.

But the third time 2 popup dialogs appears, and if I click reset on both, I'm logged out anyway.
On some other computers the second dialog never shows up and I am logged out.

Tests realised on FF9+

Comments

jgalletta’s picture

Status: Active » Needs review
StatusFileSize
new722 bytes

For information I just realised that I have other patches that could interfere with the original js bahaviour.

Anyway, I think that a clearTimeout() should be done after each timeout set, to ensure all the timeout objects are cleaned.

Here's a patch which do that.
(We don't need to clear before the first setTimeout call as it's call on page load, when the js environment is clean).

johnennew’s picture

Version: 6.x-4.0 » 6.x-4.x-dev
Status: Needs review » Fixed

Hi @jgalletta,

I am not seeing this behaviour on latest 6.x-4.x branch. There has been a lot of changes recently and so this may already have been dealt with. I'm marking as fixed but please reopen if you feel this is still an issue.

Status: Fixed » Closed (fixed)

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