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>
Fri, 17 Nov 2017 00:16:36 +0000 (19:16 -0500)
commit414e77e015f03b3e6a607f53da6e0ee34b029316
tree5e010db432584f3a2fb43c385ebb2e7e2ebc3ade
parent6c87960233a40256303cf15367fb1dce9513f28f
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