LP#1768947 Disable offline download button, improve logging
authorBill Erickson <berickxx@gmail.com>
Tue, 7 Aug 2018 16:10:17 +0000 (12:10 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 8 Aug 2018 14:31:15 +0000 (10:31 -0400)
commit457d7f65aeba76f7deb4581e8f3e1930aad4f592
treee9681bfd5b91874dfa2e94e6c9c18c1e83f11021
parent3256fd462cf2a7a943638b8122ec7f3e818a9419
LP#1768947 Disable offline download button, improve logging

Once the offline block list download button is clicked, it's disabled to
prevent any possibility of double-clicks.  The shared worker also
reports a more meaningful error in case a double-click sneaks past.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/offline-interface.tt2
Open-ILS/web/js/ui/default/staff/offline-db-worker.js
Open-ILS/web/js/ui/default/staff/offline.js