From 1fa669dbfe8e4abccce091c995974f4dcae0be65 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 27 Mar 2017 15:01:48 -0400 Subject: [PATCH] webstaff: warning sound for Item Not Found in Item Status Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander --- Open-ILS/web/js/ui/default/staff/cat/item/app.js | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.43.2