1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 10:17:47 +00:00

Fixed a couple UI issues for FileSharingTalk

This commit is contained in:
Mark McDowall 2012-04-14 00:46:42 -07:00
parent bd7cddc582
commit 2c42977b40
2 changed files with 5 additions and 2 deletions

View file

@ -73,6 +73,9 @@ namespace NzbDrone.Web.Controllers
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,

View file

@ -155,7 +155,7 @@
<span class="small">@Html.DescriptionFor(m => m.FileSharingTalkSecret)</span>
<span class="small">@Html.ValidationMessageFor(m => m.FileSharingTalkSecret)</span>
</label>
@Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass", type = "password" })
@Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass" })
</div>
</div>
@ -254,7 +254,7 @@
$('#WomblesEnabled').prop('checked', checked);
if (id == 'fileSharingTalkStatus')
$('#FileSharingTalk').prop('checked', checked);
$('#FileSharingTalkEnabled').prop('checked', checked);
reValidate();
});