mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
made saving consistent
This commit is contained in:
parent
dcea852799
commit
a6767f5cbc
10 changed files with 121 additions and 118 deletions
|
@ -42,15 +42,11 @@
|
|||
Dashboard.hideLoadingMsg();
|
||||
},
|
||||
|
||||
submit: function () {
|
||||
|
||||
$('.btnSubmit', $.mobile.activePage)[0].click();
|
||||
|
||||
},
|
||||
|
||||
onSubmit: function () {
|
||||
var form = this;
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
config.TmdbFetchedProfileSize = $('#selectTmdbPersonImageDownloadSize', form).val();
|
||||
|
@ -79,7 +75,7 @@
|
|||
config.DownloadMusicAlbumImages.Primary = $('#chkDownloadAlbumPrimary', form).checked();
|
||||
config.DownloadMusicAlbumImages.Backdrops = $('#chkDownloadAlbumBackdrops', form).checked();
|
||||
|
||||
ApiClient.updateServerConfiguration(config);
|
||||
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
||||
// Disable default form submission
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue