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;