LP#1768947 Disable offline download button, improve logging user/berick/lp1768947-offline-db-webworkers-signoff-rebase1
authorBill Erickson <berickxx@gmail.com>
Tue, 7 Aug 2018 16:10:17 +0000 (12:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 7 Aug 2018 19:10:10 +0000 (15:10 -0400)
commit3588526470b8699f99ccbf5d8abc4cd7e084aff0
treee9681bfd5b91874dfa2e94e6c9c18c1e83f11021
parent31ceb17df3597929a89764ee66fa411af1a5d3dc
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>
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