mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
fix oss password saving
This commit is contained in:
parent
665d54510d
commit
337224d447
@ -82,7 +82,11 @@
|
|||||||
|
|
||||||
config.SubtitleOptions.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();
|
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) {
|
config.SubtitleOptions.DownloadLanguages = $('.chkLang:checked', form).get().map(function (c) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user