diff --git a/dashboard-ui/scripts/metadatasubtitles.js b/dashboard-ui/scripts/metadatasubtitles.js index 9f22eb7588..e238b880f3 100644 --- a/dashboard-ui/scripts/metadatasubtitles.js +++ b/dashboard-ui/scripts/metadatasubtitles.js @@ -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) {