LP#1306814: Make use of patron timeout setting for selfcheck
authorBen Shum <bshum@biblio.org>
Fri, 26 Sep 2014 21:05:39 +0000 (17:05 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 10 Oct 2014 15:14:58 +0000 (11:14 -0400)
commitdc9839e49a436d087b4149d7d06d921672946bce
treea554ff19b7b89558548d31a27a3a36056d3d5f09
parentd0508a7d43c9695039c59c81b2733dbba6facc1f
LP#1306814: Make use of patron timeout setting for selfcheck

As described in the bug, the library setting "Self Check: Patron Login Timeout
(in seconds)" does not appear to work with the newer selfcheck interface.

It looks like some of it was already being pulled in, like the variable, but
the interface was not utilizing it.

This commit borrows from the old JS selfcheck and implements a default of
three minutes for selfcheck timeout otherwise handled by the library setting.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js