From: Jason Etheridge Date: Mon, 27 Mar 2017 20:00:11 +0000 (-0400) Subject: webstaff: console logging for debugging audio X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6136b389a93f7e024028289612d673406be73c9f;p=working%2FEvergreen.git webstaff: console logging for debugging audio Signed-off-by: Jason Etheridge --- 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]) {