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

pull/4/head
Mark McDowall 14 years ago
parent 68b7ba9209
commit 47b997326b

@ -215,6 +215,7 @@ namespace NzbDrone.Web.Controllers
{
Id = 0,
Path = "",
CleanPath = "",
SelectList = new SelectList(new List<string> { "" }, "")
};

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

Loading…
Cancel
Save