LP#1306814: Make use of patron timeout setting for selfcheck user/bshum/lp1306814-selfcheck-timeout
authorBen Shum <bshum@biblio.org>
Fri, 26 Sep 2014 21:05:39 +0000 (17:05 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 26 Sep 2014 21:05:39 +0000 (17:05 -0400)
commit6df92b6a59dfb3017706be3e6458aa3d8f3d6ecf
tree5073a8972f60c6d9d091fe3671df03533a272875
parent951b648d8fc770db14bec9d8621d090d8ccb0756
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>
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js