From 81d936ff1cbb3a4b8c15098da5e159ea3096c800 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 18 Oct 2015 13:35:36 -0400 Subject: [PATCH] resolved issue with setting up mixed library --- dashboard-ui/components/directorybrowser/directorybrowser.js | 2 +- .../components/medialibrarycreator/medialibrarycreator.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/components/directorybrowser/directorybrowser.js b/dashboard-ui/components/directorybrowser/directorybrowser.js index 7a445d386c..7e0422500c 100644 --- a/dashboard-ui/components/directorybrowser/directorybrowser.js +++ b/dashboard-ui/components/directorybrowser/directorybrowser.js @@ -64,7 +64,7 @@ if (path) { - html += getItem("lnkPath lnkDirectory", parentPath, "Network", '...'); + html += getItem("lnkPath lnkDirectory", "", parentPath, '...'); } for (var i = 0, length = folders.length; i < length; i++) { diff --git a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js index afd8690eab..a7ff6bebf8 100644 --- a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js +++ b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js @@ -13,6 +13,10 @@ var type = $('#selectCollectionType', form).val(); var path = $('#txtPath', form).val(); + if (type == 'mixed') { + type = null; + } + ApiClient.addVirtualFolder(name, type, currentOptions.refresh, path).done(function () { hasChanges = true;