mirror of
https://github.com/SuperBFG7/ympd
synced 2025-01-11 01:41:03 +00:00
fix browse for directories and playlists
This commit is contained in:
parent
7af873b793
commit
17436bff40
@ -407,6 +407,7 @@ function webSocketConnect() {
|
|||||||
"<tr uri=\"" + encodeURI(obj.data[item].dir) + "\" class=\"" + clazz + "\">" +
|
"<tr uri=\"" + encodeURI(obj.data[item].dir) + "\" class=\"" + clazz + "\">" +
|
||||||
"<td><span class=\"glyphicon glyphicon-folder-open\"></span></td>" +
|
"<td><span class=\"glyphicon glyphicon-folder-open\"></span></td>" +
|
||||||
"<td><a>" + basename(obj.data[item].dir) + "</a></td>" +
|
"<td><a>" + basename(obj.data[item].dir) + "</a></td>" +
|
||||||
|
"<td></td><td></td>" +
|
||||||
"<td></td><td></td></tr>"
|
"<td></td><td></td></tr>"
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
@ -419,6 +420,7 @@ function webSocketConnect() {
|
|||||||
"<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"" + clazz + "\">" +
|
"<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"" + clazz + "\">" +
|
||||||
"<td><span class=\"glyphicon glyphicon-list\"></span></td>" +
|
"<td><span class=\"glyphicon glyphicon-list\"></span></td>" +
|
||||||
"<td><a>" + basename(obj.data[item].plist) + "</a></td>" +
|
"<td><a>" + basename(obj.data[item].plist) + "</a></td>" +
|
||||||
|
"<td></td><td></td>" +
|
||||||
"<td></td><td></td></tr>"
|
"<td></td><td></td></tr>"
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
@ -443,6 +445,7 @@ function webSocketConnect() {
|
|||||||
$('#salamisandwich > tbody').append(
|
$('#salamisandwich > tbody').append(
|
||||||
"<tr><td><span class=\"glyphicon glyphicon-remove\"></span></td>" +
|
"<tr><td><span class=\"glyphicon glyphicon-remove\"></span></td>" +
|
||||||
"<td>Too many results, please refine your search!</td>" +
|
"<td>Too many results, please refine your search!</td>" +
|
||||||
|
"<td></td><td></td>" +
|
||||||
"<td></td><td></td></tr>"
|
"<td></td><td></td></tr>"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user