LP#1716962 - honor In-House Use: num of uses threshold setting
authorCesar Velez <Cesar.Velez@equinoxinitiative.org>
Wed, 27 Sep 2017 17:16:04 +0000 (18:16 +0100)
committerMike Rylander <mrylander@gmail.com>
Mon, 16 Oct 2017 19:28:00 +0000 (15:28 -0400)
commit085472193502d22ff4529940bd3bfafb677aab8d
treee4d4c474eaef0375bbcb067a08735afbdeecebc3
parentbd062fad7ed8495e1a4516c7f1f3b2a090378448
LP#1716962 - honor In-House Use: num of uses threshold setting

The 'ui.circ.in_house_use.entry_warn' library setting was not being
taken into account nor any confirmation/warning modal being shown.
This fix addresses that by watching the changes and if selected
num_uses value exceeds setting value, displays egConfirm modal.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/base_js.tt2
Open-ILS/src/templates/staff/circ/in_house_use/index.tt2
Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js