]> git.0d.be Git - panikweb-esperanzah.git/commitdiff
do not display action notice when adding/playing a sound
authorFrédéric Péters <fpeters@0d.be>
Thu, 10 Oct 2019 12:34:13 +0000 (14:34 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 10 Oct 2019 12:34:13 +0000 (14:34 +0200)
panikweb_templates/static/js/specifics.js

index 72dc77ed72efb2e0b576e1778e5ce1f87c957d6e..4e44d159f46cedf21a0ea384e205c9ad09d4ed30 100644 (file)
@@ -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();