https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36586 --- Comment #14 from David Cook <dcook@prosentient.com.au> --- So the Javascript class here allows us to create multiple objects with the same code, so we can have the "window.sci_login_timer" which just governs the login timeout. But then we could easily create another timer for however many hours we want. (For that scenario, perhaps we'd actually want to set a higher interval than 1 second, and instead maybe check every minute or X minutes. Anyway, that's what I had in mind. I wrote it without jQuery, and I tweaked the conditions a bit, so that we're only invoking the timer where we need it in the first place rather than running it and checking for the button visibility on each increment. -- Also added in the missing TT filter and wrapper the idleTimeout in double quotes to avoid XSS. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.