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

update subtitle download setting

This commit is contained in:
Luke Pulverenti 2016-03-19 18:31:00 -04:00
parent 90ac504440
commit 45cf1d8430
5 changed files with 25 additions and 29 deletions

View file

@ -419,6 +419,25 @@
});
});
window.WizardLibraryPage = {
next: function () {
Dashboard.showLoadingMsg();
var apiClient = ApiClient;
apiClient.ajax({
type: "POST",
url: apiClient.getUrl('System/Configuration/MetadataPlugins/Autoset')
}).then(function () {
Dashboard.hideLoadingMsg();
Dashboard.navigate('wizardsettings.html');
});
}
};
pageClassOn('pageshow', "mediaLibraryPage", function () {
var page = this;
@ -426,30 +445,6 @@
});
})();
var WizardLibraryPage = {
next: function () {
Dashboard.showLoadingMsg();
var apiClient = ApiClient;
apiClient.ajax({
type: "POST",
url: apiClient.getUrl('System/Configuration/MetadataPlugins/Autoset')
}).then(function () {
Dashboard.hideLoadingMsg();
Dashboard.navigate('wizardsettings.html');
});
}
};
(function ($, document, window) {
pageIdOn('pageshow', "mediaLibraryPage", function () {
var page = this;