From: Jessica Woolford Date: Thu, 29 Sep 2022 17:27:20 +0000 (-0400) Subject: LP1755876: Add progress bar when renewing items X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0888ee4415ad6de4cada99c7d5ddf974b2bc4ec7;p=evergreen%2Fpines.git LP1755876: Add progress bar when renewing items Signed-off-by: Jessica Woolford Signed-off-by: Susan Morrison Signed-off-by: Jane Sandberg --- 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(); }); }