LP#1851541 - Add audio alert for item alert popups
authorJosh Stompro <stompro@stompro.org>
Wed, 6 Nov 2019 18:24:36 +0000 (12:24 -0600)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 30 Jul 2020 13:30:21 +0000 (09:30 -0400)
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

index 6bed816..54aa9f3 100644 (file)
@@ -1886,6 +1886,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
 
     // action == what action to take if the user confirms the alert
     service.copy_alert_dialog = function(evt, params, options, action) {
+        egCore.audio.play('warning.circ.item_alert');
         if (angular.isArray(evt)) evt = evt[0];
         if (!angular.isArray(evt.payload)) {
             return egConfirmDialog.open(