1
0
Fork 0
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:
Luke Pulverenti 2015-10-18 13:35:36 -04:00
parent ac72577f3b
commit 81d936ff1c
2 changed files with 5 additions and 1 deletions

View file

@ -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++) {

View file

@ -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;