From 2c42977b40069afd508d184314cb69e85459e323 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 14 Apr 2012 00:46:42 -0700 Subject: [PATCH] Fixed a couple UI issues for FileSharingTalk --- NzbDrone.Web/Controllers/SettingsController.cs | 3 +++ NzbDrone.Web/Views/Settings/Indexers.cshtml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Web/Controllers/SettingsController.cs b/NzbDrone.Web/Controllers/SettingsController.cs index ab0f57135..99bf5e183 100644 --- a/NzbDrone.Web/Controllers/SettingsController.cs +++ b/NzbDrone.Web/Controllers/SettingsController.cs @@ -73,6 +73,9 @@ public ActionResult Indexers() NewzbinUsername = _configProvider.NewzbinUsername, NewzbinPassword = _configProvider.NewzbinPassword, + FileSharingTalkUid = _configProvider.FileSharingTalkUid, + FileSharingTalkSecret = _configProvider.FileSharingTalkSecret, + NzbsOrgEnabled = _indexerProvider.GetSettings(typeof(NzbsOrg)).Enable, NzbMatrixEnabled = _indexerProvider.GetSettings(typeof(NzbMatrix)).Enable, NzbsRUsEnabled = _indexerProvider.GetSettings(typeof(NzbsRUs)).Enable, diff --git a/NzbDrone.Web/Views/Settings/Indexers.cshtml b/NzbDrone.Web/Views/Settings/Indexers.cshtml index c3d490881..61be0559d 100644 --- a/NzbDrone.Web/Views/Settings/Indexers.cshtml +++ b/NzbDrone.Web/Views/Settings/Indexers.cshtml @@ -155,7 +155,7 @@ @Html.DescriptionFor(m => m.FileSharingTalkSecret) @Html.ValidationMessageFor(m => m.FileSharingTalkSecret) - @Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass", type = "password" }) + @Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass" }) @@ -254,7 +254,7 @@ $('#WomblesEnabled').prop('checked', checked); if (id == 'fileSharingTalkStatus') - $('#FileSharingTalk').prop('checked', checked); + $('#FileSharingTalkEnabled').prop('checked', checked); reValidate(); });