1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02: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 @@ 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,

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();
});