1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 10:32:35 +01:00

Fixed failure when trying to add the first root dir (Missing Telerik scripts for combobox).

This commit is contained in:
Mark McDowall 2011-06-21 00:02:21 -07:00
parent 68b7ba9209
commit 47b997326b
2 changed files with 8 additions and 1 deletions

View File

@ -215,6 +215,7 @@ public PartialViewResult AddRootDir()
{
Id = 0,
Path = "",
CleanPath = "",
SelectList = new SelectList(new List<string> { "" }, "")
};

View File

@ -1,7 +1,13 @@
@model List<RootDir>
@using NzbDrone.Core.Repository
<script type="text/javascript" src="../../Scripts/2011.1.315/telerik.window.min.js"></script>
@{ Html.Telerik().ScriptRegistrar().DefaultGroup(group => group
.Add("telerik.common.min.js")
.Add("telerik.draganddrop.min.js")
.Add("telerik.window.min.js")
.Add("telerik.panelbar.min.js")
.Add("telerik.list.min.js")
.Add("telerik.combobox.min.js")); }
<style>
.root_dir_text