From 457d7f65aeba76f7deb4581e8f3e1930aad4f592 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 7 Aug 2018 12:10:17 -0400 Subject: [PATCH] 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 Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/offline-interface.tt2 | 1 + Open-ILS/web/js/ui/default/staff/offline-db-worker.js | 9 +++++++-- Open-ILS/web/js/ui/default/staff/offline.js | 7 ++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/staff/offline-interface.tt2 b/Open-ILS/src/templates/staff/offline-interface.tt2 index 16424ce54c..fafc74e12b 100644 --- a/Open-ILS/src/templates/staff/offline-interface.tt2 +++ b/Open-ILS/src/templates/staff/offline-interface.tt2 @@ -35,6 +35,7 @@