webstaff: warning sound for Bad Barcode dialog
authorJason Etheridge <jason@esilibrary.com>
Mon, 27 Mar 2017 19:10:45 +0000 (15:10 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 17 Apr 2017 19:11:39 +0000 (15:11 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

index 77564fd..7e50729 100644 (file)
@@ -1477,6 +1477,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,
         var ok = service.check_barcode(bc);
         if (ok) return $q.when();
 
+        egCore.audio.play('warning.circ.bad_barcode');
         return $uibModal.open({
             templateUrl: './circ/share/t_bad_barcode_dialog',
             controller: