mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated translations
This commit is contained in:
parent
46f9a6a331
commit
66a2e3ce93
4 changed files with 22 additions and 31 deletions
|
@ -4,29 +4,22 @@
|
|||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.ajax({
|
||||
type: "POST",
|
||||
url: ApiClient.getUrl("System/Configuration/VideoImageExtraction", { Enabled: $('#chkVideoImages', page).checked() })
|
||||
// After saving chapter task, now save server config
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
}).done(function () {
|
||||
config.EnableUPnP = $('#chkEnableUpnp', page).checked();
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(function (result) {
|
||||
|
||||
// After saving chapter task, now save server config
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
ApiClient.getNamedConfiguration("chapters").done(function (chapterConfig) {
|
||||
|
||||
config.EnableUPnP = $('#chkEnableUpnp', page).checked();
|
||||
chapterConfig.EnableMovieChapterImageExtraction = $('#chkMovies', page).checked();
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(function (result) {
|
||||
ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () {
|
||||
|
||||
ApiClient.getNamedConfiguration("chapters").done(function (chapterConfig) {
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
chapterConfig.EnableMovieChapterImageExtraction = $('#chkMovies', page).checked();
|
||||
|
||||
ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () {
|
||||
|
||||
navigateToNextPage();
|
||||
|
||||
});
|
||||
navigateToNextPage();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue