webstaff: booking options from Patron interface
authorJason Etheridge <jason@esilibrary.com>
Tue, 3 Jan 2017 11:58:25 +0000 (06:58 -0500)
committerJason Etheridge <jason@esilibrary.com>
Tue, 3 Jan 2017 12:07:01 +0000 (07:07 -0500)
commitfd3b6b82ed91225dac741bcf542d662ee9235bc5
treecd53a1f7a78e5befeda7898cdcacbf7a5eb3f139
parent51a7f50b2ba3ff8bfe92a0ac3d8fd740aa195a15
webstaff: booking options from Patron interface

Includes some workarounds for xulG errors, and lets the booking interfaces
receive the patron barcode via a query param instead of xulG.  The XUL client
spawns a new tab for these interfaces, but we stick with web norms and load in
the current tab (control+click will open a new tab).  This does, however, blow
away the patron interface; it doesn't embed like most of the options from the
Other menu.  One other change: we don't have support for nested drop-down menus
in the web client, so I've flattened the entries like so:

* Booking: Create or Cancel Reservations
* Booking: Pick Up Reservations
* Booking: Return Reservations

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/templates/staff/circ/patron/index.tt2
Open-ILS/web/js/ui/default/booking/pickup.js
Open-ILS/web/js/ui/default/booking/reservation.js
Open-ILS/web/js/ui/default/booking/return.js