Bug 32921: Honor SelfCheckTimeout when modal is open
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 8 Feb 2023 23:28:59 +0000 (23:28 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 13:18:36 +0000 (10:18 -0300)
commite074ffa6be15c97e6724041b12d930ed70855f1d
tree9932d8c1e4672d066d47f68b23c766e4ab265d7c
parentf394bf61cf7e60058afd9856f7ae8dda8afb385b
Bug 32921: Honor SelfCheckTimeout when modal is open

To test:
1. Set the 'SelfCheckTimeout' system preference to something low for testing.
2. Make sure 'SelfCheckReceiptPrompt' is set to 'Show'.
3. Log in to SCO and press finish but leave the modal open.
4. Wait until the 'SelfCheckTimeout' time has expired, nothing happens.
5. Apply patch and try again. You should be logged out when SelfCheckTimeout expires.

Signed-off-by: Marius Mandrescu <marius.mandrescu@inLibro.com>
JD amended patch - fix indentation

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt