Bugzilla – Attachment 146414 Details for
Bug 32921
SelfCheckTimeout doesn't logout if SelfCheckReceiptPrompt modal is open
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32921: Honor SelfCheckTimeout when modal is open
Bug-32921-Honor-SelfCheckTimeout-when-modal-is-ope.patch (text/plain), 1.28 KB, created by
Lucas Gass (lukeg)
on 2023-02-08 23:30:28 UTC
(
hide
)
Description:
Bug 32921: Honor SelfCheckTimeout when modal is open
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-02-08 23:30:28 UTC
Size:
1.28 KB
patch
obsolete
>From 6299946bde32e4782aab4aed15864f4079885152 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 8 Feb 2023 23:28:59 +0000 >Subject: [PATCH] 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. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index 6afd709a78..76569c697a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -524,6 +524,7 @@ > location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout'; > } > }) >+ sco_init(); > [% ELSE %] > location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout'; > [% END %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32921
:
146414
|
149779
|
150568