LP#1896285: progress dialog when marking selected items as missing
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 18 Dec 2020 00:43:15 +0000 (16:43 -0800)
committerBill Erickson <berickxx@gmail.com>
Mon, 11 Jan 2021 20:43:44 +0000 (15:43 -0500)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/cat/item/app.js

index f0697ea..dbf7176 100644 (file)
@@ -635,8 +635,10 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD
     }
 
     $scope.selectedHoldingsMissing = function () {
+        egProgressDialog.open();
         itemSvc.selectedHoldingsMissing(copyGrid.selectedItems())
         .then(function() { 
+            egProgressDialog.close();
             console.debug('Marking missing complete, refreshing grid');
             copyGrid.refresh();
         });