LP 1694058: Add confirmation dialog for multiple title holds.
authorJason Stephenson <jason@sigio.com>
Sat, 30 Sep 2017 19:30:22 +0000 (15:30 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 21 Feb 2018 21:56:11 +0000 (16:56 -0500)
commitcac2694533baae42cf5bad1434287ca69c72116b
treeae87f20eb68ee0c73230fd82d8ab86e111b4c6c2
parent89eb96b8eaae3f0074c1bf69c1408a2dc9fa9073
LP 1694058: Add confirmation dialog for multiple title holds.

Add a dialog to confirm that the user really wants to place the
requested number of title or metarecord holds to the
validateHoldForm() function.

Along the way, we add a format() function to the JS String prototype
in the i18n_strings.tt2 so that we can have translated strings with
placeholders in JavaScript.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/opac/i18n_strings.tt2
Open-ILS/web/js/ui/default/opac/holds-validation.js