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:33:56 +0000 (10:33 -0400)
commit43aca456ff7f31c00e5521c70f933e25ebf433a0
treeee1185c8f20c5877980253a8162c574cc295f987
parent7b524077059caa4d27d45f516b6374d8f64e005c
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