1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update library setup

This commit is contained in:
Luke Pulverenti 2015-10-15 22:06:44 -04:00
parent 273da03c0f
commit 99d3154872
10 changed files with 101 additions and 45 deletions

View file

@ -1800,7 +1800,7 @@
* Adds a virtual folder
* @param {String} name
*/
self.addVirtualFolder = function (name, type, refreshLibrary) {
self.addVirtualFolder = function (name, type, refreshLibrary, initialPath) {
if (!name) {
throw new Error("null name");
@ -1821,7 +1821,10 @@
return self.ajax({
type: "POST",
url: url
url: url,
data: {
Path: initialPath
}
});
};