fix oss password saving

This commit is contained in:
Luke Pulverenti 2014-05-07 16:38:19 -04:00
parent 665d54510d
commit 337224d447

View File

@ -82,7 +82,11 @@
config.SubtitleOptions.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();
config.SubtitleOptions.OpenSubtitlesPasswordHash = $('#txtOpenSubtitlePassword', form).val();
var newPassword = $('#txtOpenSubtitlePassword', form).val();
if (newPassword) {
config.SubtitleOptions.OpenSubtitlesPasswordHash = newPassword;
}
config.SubtitleOptions.DownloadLanguages = $('.chkLang:checked', form).get().map(function (c) {