Lines 420-426
Link Here
|
420 |
function login_timeout(){ |
420 |
function login_timeout(){ |
421 |
//NOTE: There can only be 1 sco_login_timer at a time |
421 |
//NOTE: There can only be 1 sco_login_timer at a time |
422 |
if ( ! window.sco_login_timer ){ |
422 |
if ( ! window.sco_login_timer ){ |
423 |
const idleTimeout = "[% Koha.Preference('SelfCheckTimeout') || 120 | html %]"; |
423 |
const idleTimeout = "[% Koha.Preference('SelfCheckTimeout') | html %]"; |
424 |
const home_href = "/cgi-bin/koha/sco/sco-main.pl?op=logout"; |
424 |
const home_href = "/cgi-bin/koha/sco/sco-main.pl?op=logout"; |
425 |
const sco_timer = new sc_timer({ |
425 |
const sco_timer = new sc_timer({ |
426 |
"idle_timeout": idleTimeout, |
426 |
"idle_timeout": idleTimeout, |