1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

live saving on the metadata pages

This commit is contained in:
LukePulverenti 2013-03-11 10:54:08 -04:00
parent a6b72afc99
commit ff2b7ed3dc
6 changed files with 107 additions and 98 deletions

View file

@ -42,6 +42,12 @@
Dashboard.hideLoadingMsg();
},
submit: function () {
$('.btnSubmit', $.mobile.activePage)[0].click();
},
onSubmit: function () {
Dashboard.showLoadingMsg();
@ -75,7 +81,7 @@
config.DownloadMusicAlbumImages.Primary = $('#chkDownloadAlbumPrimary', form).checked();
config.DownloadMusicAlbumImages.Backdrops = $('#chkDownloadAlbumBackdrops', form).checked();
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
ApiClient.updateServerConfiguration(config);
});
// Disable default form submission