From: Jane Sandberg Date: Thu, 6 Feb 2020 03:44:52 +0000 (-0800) Subject: LP#1845706 (follow-up): Fix callback X-Git-Url: https://git.evergreen-ils.org/?p=working%2FEvergreen.git;a=commitdiff_plain;h=473688892df7ee175d44930c5cea438d44d01992;hp=2800d58f7e37181355050f042f221fb65f2c4829 LP#1845706 (follow-up): Fix callback Signed-off-by: Jane Sandberg Signed-off-by: Mike Rylander Signed-off-by: Dawn Dale --- 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 a10874e5cc..26341c1844 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 @@ -424,7 +424,7 @@ function($scope , $q , $routeParams , $timeout , egCore , egUser , patronSvc , id: circ.target_copy().id(), barcode: circ.target_copy().barcode(), circ_lib: circ.target_copy().circ_lib().id() - }).then($timeout(reset_page,1000)) // reset after each, because rejecting one stops the $q.all() chain + }).then(() => $timeout(reset_page,1000)) // reset after each, because rejecting one stops the $q.all() chain }); } $scope.mark_missing = function(items) {