Commit 161f9975 authored by Francois Cartegnie's avatar Francois Cartegnie

web intf: make playlist interactive

parent 43f10da8
......@@ -443,6 +443,10 @@ $(function(){
$(this).addClass('ui-state-highlight');
current_id = $(this).attr('id').substr(5);
});
}).delegate("#plid_2 li.jstree-leaf a", "click",function(event, data){
event.preventDefault();
current_id = $(this).parent().attr('id').substr(5);
sendCommand('command=pl_play&id=' + current_id);
});
updateStatus();
updateStreams();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment