Koha/koha-tmpl/opac-tmpl/bootstrap
Galen Charlton 58d469ed4d bug 10016: munge history in SCO to discourage resubmitting user login
This patch uses history.replaceState (introduced in HTML5) to manipulate
the browser history to encourage returning to the SCO patron barcode
form if the back button is used.

Note that a side effect of this patch is that if the user uses
the help link, they will be prompted to enter their barcode
again.  It may be better to put the help inline with the rest
of the SCO forms.

To test:

[1] Start a web-based self-check session.
[2] Enter a patron barcode.
[3] Allow the self-check session to time out.
[4] Use the back button.  You should get the patron barcode
    entry form; you should not be prompted to resubmit form input.
[5] Enter a patron barcode, perform some transactions, then
    use the finish button.
[6] Next, use the back button.  You should get the patron barcode
    entry form.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ed Veal <ed.veal@bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-21 18:05:28 +00:00
..
css Bug 10309: (follow-up) Add changes from Bug 8712, "and" labels in advanced search 2013-10-14 23:14:02 +00:00
en bug 10016: munge history in SCO to discourage resubmitting user login 2013-10-21 18:05:28 +00:00
images Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
itemtypeimg Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
js Bug 10309: (follow-up) apply another follow-up for 10856, improve shelf browser 2013-10-14 23:23:44 +00:00
less Bug 10309: (follow-up) Add changes from Bug 8712, "and" labels in advanced search 2013-10-14 23:14:02 +00:00
lib Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00