webstaff: warning sound for Item Not Found in Item Status
authorJason Etheridge <jason@esilibrary.com>
Mon, 27 Mar 2017 19:01:48 +0000 (15:01 -0400)
committerJason Etheridge <jason@esilibrary.com>
Mon, 27 Mar 2017 20:00:48 +0000 (16:00 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/web/js/ui/default/staff/cat/item/app.js

index 5468daf..b19143b 100644 (file)
@@ -206,6 +206,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;
         })
@@ -995,6 +996,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;
             }