From b52566f3a4e7301fe5a3cca3b450d814bdf86c4f Mon Sep 17 00:00:00 2001 From: Jessica Woolford Date: Thu, 29 Sep 2022 13:27:20 -0400 Subject: [PATCH] LP1755876: Add progress bar when renewing items Signed-off-by: Jessica Woolford Signed-off-by: Susan Morrison Signed-off-by: Jane Sandberg --- Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js index b2988c50aa..3029151255 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js @@ -503,9 +503,11 @@ function($scope , $q , $routeParams , $timeout , egCore , egUser , patronSvc , } window.oils_inside_batch = false; window.oils_op_change_within_batch = false; + egProgressDialog.close(); reset_page(); } function do_one() { + egProgressDialog.increment(); var bc = barcodes.pop(); if (!bc) { batch_cleanup(); @@ -525,6 +527,7 @@ function($scope , $q , $routeParams , $timeout , egCore , egUser , patronSvc , } }); } + egProgressDialog.open({value : 1}); do_one(); }); } -- 2.11.0