mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
resolved issue with setting up mixed library
This commit is contained in:
parent
ac72577f3b
commit
81d936ff1c
2 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
if (path) {
|
if (path) {
|
||||||
|
|
||||||
html += getItem("lnkPath lnkDirectory", parentPath, "Network", '...');
|
html += getItem("lnkPath lnkDirectory", "", parentPath, '...');
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i = 0, length = folders.length; i < length; i++) {
|
for (var i = 0, length = folders.length; i < length; i++) {
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
var type = $('#selectCollectionType', form).val();
|
var type = $('#selectCollectionType', form).val();
|
||||||
var path = $('#txtPath', form).val();
|
var path = $('#txtPath', form).val();
|
||||||
|
|
||||||
|
if (type == 'mixed') {
|
||||||
|
type = null;
|
||||||
|
}
|
||||||
|
|
||||||
ApiClient.addVirtualFolder(name, type, currentOptions.refresh, path).done(function () {
|
ApiClient.addVirtualFolder(name, type, currentOptions.refresh, path).done(function () {
|
||||||
|
|
||||||
hasChanges = true;
|
hasChanges = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue