From a7899650a95909bb0f1f3ff2c3302a59319b7ae5 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 27 Mar 2017 16:00:11 -0400 Subject: [PATCH] webstaff: console logging for debugging audio Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander --- Open-ILS/web/js/ui/default/staff/services/audio.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/web/js/ui/default/staff/services/audio.js b/Open-ILS/web/js/ui/default/staff/services/audio.js index 8cab8723f8..82baa7689c 100644 --- a/Open-ILS/web/js/ui/default/staff/services/audio.js +++ b/Open-ILS/web/js/ui/default/staff/services/audio.js @@ -39,6 +39,7 @@ angular.module('egCoreMod') } service.play_url = function(path, orig_path) { + console.log('audio: play_url('+path+','+orig_path+')'); egHatch.getItem('eg.audio.disable').then(function(audio_disabled) { if (!audio_disabled) { @@ -51,6 +52,7 @@ angular.module('egCoreMod') player.onloadeddata = function() { service.url_cache[orig_path] = url; player.play(); + console.log('audio: ' + url); }; if (service.url_cache[path]) { -- 2.43.2