http: Allow to select media from playlist too
authorMathieu Parent <math.parent@gmail.com>
Thu, 3 Aug 2017 16:27:03 +0000 (18:27 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 4 Aug 2017 07:51:35 +0000 (09:51 +0200)
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
share/lua/http/js/controllers.js

index 8c3a419..7ae3b10 100644 (file)
@@ -518,7 +518,7 @@ $(function () {
             $(this).addClass('ui-state-highlight');
             current_playlist_id = $(this).attr('id').substr(5);
         });
-    }).delegate("#plid_2 li.jstree-leaf a", "click", function (event, data) {
+    }).delegate("#plid_0 li.jstree-leaf a", "click", function (event, data) {
         event.preventDefault();
         current_playlist_id = $(this).parent().attr('id').substr(5);
         sendCommand('command=pl_play&id=' + current_playlist_id);