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 @@ namespace NzbDrone.Web.Controllers
{ {
Id = 0, Id = 0,
Path = "", Path = "",
CleanPath = "",
SelectList = new SelectList(new List<string> { "" }, "") SelectList = new SelectList(new List<string> { "" }, "")
}; };

View File

@ -1,7 +1,13 @@
@model List<RootDir> @model List<RootDir>
@using NzbDrone.Core.Repository @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> <style>
.root_dir_text .root_dir_text