1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-23 09:30:26 +00:00

fix browse for directories and playlists

This commit is contained in:
SuperBFG7 2018-02-03 13:02:02 +01:00
parent 7af873b793
commit 17436bff40

View File

@ -407,6 +407,7 @@ function webSocketConnect() {
"<tr uri=\"" + encodeURI(obj.data[item].dir) + "\" class=\"" + clazz + "\">" +
"<td><span class=\"glyphicon glyphicon-folder-open\"></span></td>" +
"<td><a>" + basename(obj.data[item].dir) + "</a></td>" +
"<td></td><td></td>" +
"<td></td><td></td></tr>"
);
break;
@ -419,6 +420,7 @@ function webSocketConnect() {
"<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"" + clazz + "\">" +
"<td><span class=\"glyphicon glyphicon-list\"></span></td>" +
"<td><a>" + basename(obj.data[item].plist) + "</a></td>" +
"<td></td><td></td>" +
"<td></td><td></td></tr>"
);
break;
@ -443,6 +445,7 @@ function webSocketConnect() {
$('#salamisandwich > tbody').append(
"<tr><td><span class=\"glyphicon glyphicon-remove\"></span></td>" +
"<td>Too many results, please refine your search!</td>" +
"<td></td><td></td>" +
"<td></td><td></td></tr>"
);
}