From c1625d2fb63315fcfcb10f99f58596ae7caeec6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 10 Oct 2019 14:34:13 +0200 Subject: [PATCH] do not display action notice when adding/playing a sound --- panikweb_templates/static/js/specifics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panikweb_templates/static/js/specifics.js b/panikweb_templates/static/js/specifics.js index 72dc77e..4e44d15 100644 --- a/panikweb_templates/static/js/specifics.js +++ b/panikweb_templates/static/js/specifics.js @@ -348,10 +348,10 @@ $(function() { var audio = $('#'+$(this).attr('data-player-audio')); var sound_id = audio.data('sound-id'); if($(this).attr('data-player-action') == "registerAudio"){ - $localList.playlist("registerAudio",audio,doLog(audio.attr('title')+' has been added to your playlist.','ok')); + $localList.playlist("registerAudio",audio); }else if($(this).attr('data-player-action') == "playAudio"){ if ($(this).hasClass('icon-play-sign')) { - $localList.playlist("registerAudio",audio,doLog(audio.attr('title')+' will play soon.','ok')); + $localList.playlist("registerAudio",audio); $localList.playlist("playSoundId", sound_id); if ($(this).parent().find('.icon-pause').length) { $(this).hide(); -- 2.39.2