From: Jason Etheridge Date: Mon, 27 Mar 2017 19:01:48 +0000 (-0400) Subject: webstaff: warning sound for Item Not Found in Item Status X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b734f0c321c1aba65d3b3a501f0bff0fedfaacea;p=Evergreen.git webstaff: warning sound for Item Not Found in Item Status Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index 6e411ef595..5f0ecb04fd 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -213,6 +213,7 @@ function($scope , $q , $routeParams , $location , $timeout , $window , egCore , $scope.args.barcode = ''; } else { $scope.context.itemNotFound = true; + egCore.audio.play('warning.item_status.itemNotFound'); } $scope.context.selectBarcode = true; }) @@ -1002,6 +1003,7 @@ function($scope , $q , $location , $routeParams , $timeout , $window , egCore , if (!res) { copyId = null; $scope.context.itemNotFound = true; + egCore.audio.play('warning.item_status.itemNotFound'); deferred.reject(); // avoid propagation of data fetch calls return; }