From 71c5653b91d36985d53413bc2a830c4b80828552 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 23 Jan 2012 10:57:15 -0800 Subject: [PATCH] Password boxes will now keep value from Database instead of wiping out saved values when saved with empty fields. --- NzbDrone.Web/Views/Settings/Growl.cshtml | 2 +- NzbDrone.Web/Views/Settings/Indexers.cshtml | 2 +- NzbDrone.Web/Views/Settings/Sabnzbd.cshtml | 2 +- NzbDrone.Web/Views/Settings/Smtp.cshtml | 2 +- NzbDrone.Web/Views/Settings/Xbmc.cshtml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/NzbDrone.Web/Views/Settings/Growl.cshtml b/NzbDrone.Web/Views/Settings/Growl.cshtml index 59f4aebf7..be8ed02ac 100644 --- a/NzbDrone.Web/Views/Settings/Growl.cshtml +++ b/NzbDrone.Web/Views/Settings/Growl.cshtml @@ -29,5 +29,5 @@ - @Html.PasswordFor(m => m.GrowlPassword, new { @class = "inputClass" }) + @Html.TextBoxFor(m => m.GrowlPassword, new { @class = "inputClass", type = "password" }) \ No newline at end of file diff --git a/NzbDrone.Web/Views/Settings/Indexers.cshtml b/NzbDrone.Web/Views/Settings/Indexers.cshtml index 44bfbf7d6..a032d547b 100644 --- a/NzbDrone.Web/Views/Settings/Indexers.cshtml +++ b/NzbDrone.Web/Views/Settings/Indexers.cshtml @@ -81,7 +81,7 @@ - @Html.PasswordFor(m => m.NewzbinPassword, new { @class = "inputClass" }) + @Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass", type = "password" })

Newznab

diff --git a/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml b/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml index 1d6e48a72..6cf282add 100644 --- a/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml +++ b/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml @@ -37,7 +37,7 @@ - @Html.PasswordFor(m => m.SabPassword, new { @class = "inputClass" }) + @Html.TextBoxFor(m => m.SabPassword, new { @class = "inputClass", type = "password" })