Fixed a couple UI issues for FileSharingTalk

pull/19/head
Mark McDowall 13 years ago
parent bd7cddc582
commit 2c42977b40

@ -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,

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

Loading…
Cancel
Save