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)
committerJason Stephenson <jason@sigio.com>
Sat, 28 Oct 2017 15:32:27 +0000 (11:32 -0400)
commitb8e9086e8e647145899c3fd67e8a90d8d1aa77df
tree67e41d93c3d431e9e7d4fe69794cdd7f9b68daf8
parent4c9fdf1cf1120bb3e241d0ade0ee07296d9bf595
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>
Open-ILS/src/templates/opac/i18n_strings.tt2
Open-ILS/web/js/ui/default/opac/holds-validation.js