From 9950d9385d30687dade998c8a044e8dafe9fbdb8 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Tue, 5 Apr 2011 21:34:58 -0700 Subject: [PATCH] more relative path fix --- NzbDrone.Core.Test/RepoTest.cs | 6 ------ NzbDrone.Web/Controllers/AddSeriesController.cs | 2 +- NzbDrone.Web/Scripts/Notification.js | 2 +- NzbDrone.Web/Views/AddSeries/AddSeriesItem.cshtml | 2 +- NzbDrone.Web/Views/Shared/Site.Master | 1 + 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/NzbDrone.Core.Test/RepoTest.cs b/NzbDrone.Core.Test/RepoTest.cs index 8b6175fd4..38a9663e3 100644 --- a/NzbDrone.Core.Test/RepoTest.cs +++ b/NzbDrone.Core.Test/RepoTest.cs @@ -1,15 +1,9 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; using FizzWare.NBuilder; -using Gallio.Framework; using MbUnit.Framework; -using MbUnit.Framework.ContractVerifiers; -using Ninject; using NLog; using NzbDrone.Core.Instrumentation; -using NzbDrone.Core.Model; using NzbDrone.Core.Repository; using LogLevel = NzbDrone.Core.Instrumentation.LogLevel; using NLog.Config; diff --git a/NzbDrone.Web/Controllers/AddSeriesController.cs b/NzbDrone.Web/Controllers/AddSeriesController.cs index 043f379c7..7005f762d 100644 --- a/NzbDrone.Web/Controllers/AddSeriesController.cs +++ b/NzbDrone.Web/Controllers/AddSeriesController.cs @@ -119,7 +119,7 @@ namespace NzbDrone.Web.Controllers public SelectList GetSuggestionList(string searchString) { var dataVal = _tvDbProvider.SearchSeries(searchString); - var bestResult = _tvDbProvider.GetBestMatch(dataVal.ToList(), searchString); + //var bestResult = _tvDbProvider.GetBestMatch(dataVal.ToList(), searchString); return new SelectList(dataVal, "Id", "SeriesName", dataVal[0].Id); } diff --git a/NzbDrone.Web/Scripts/Notification.js b/NzbDrone.Web/Scripts/Notification.js index a7fce3024..a255324e5 100644 --- a/NzbDrone.Web/Scripts/Notification.js +++ b/NzbDrone.Web/Scripts/Notification.js @@ -11,7 +11,7 @@ $(function () { function refreshNotifications() { $.ajax({ - url: '/Notification', + url: 'Notification', success: notificationCallback }); } diff --git a/NzbDrone.Web/Views/AddSeries/AddSeriesItem.cshtml b/NzbDrone.Web/Views/AddSeries/AddSeriesItem.cshtml index 9aa0b9c27..5240e1aaa 100644 --- a/NzbDrone.Web/Views/AddSeries/AddSeriesItem.cshtml +++ b/NzbDrone.Web/Views/AddSeries/AddSeriesItem.cshtml @@ -7,7 +7,7 @@ @{Html.Telerik().ComboBox() .Name("seriesList_" + ViewData["guid"].ToString()) .BindTo(Model) - .DataBinding(binding => binding.Ajax().Select("_textLookUp", "AddSeries").Delay(400).Cache(false)) + .DataBinding(binding => binding.Ajax().Select("_textLookUp", "AddSeries").Delay(400)) .Filterable(f => f.FilterMode(AutoCompleteFilterMode.Contains)) .HighlightFirstMatch(true) .HtmlAttributes(new { style = "width: 300px;" }) diff --git a/NzbDrone.Web/Views/Shared/Site.Master b/NzbDrone.Web/Views/Shared/Site.Master index a5036b374..67f33a01c 100644 --- a/NzbDrone.Web/Views/Shared/Site.Master +++ b/NzbDrone.Web/Views/Shared/Site.Master @@ -5,6 +5,7 @@ + NZBDrone <%