mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move completely to fetch
This commit is contained in:
parent
ee899a7332
commit
9932bc3eb5
168 changed files with 948 additions and 945 deletions
|
@ -9,7 +9,7 @@
|
|||
if (result) {
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.uninstallPlugin(uniqueid).done(function () {
|
||||
ApiClient.uninstallPlugin(uniqueid).then(function () {
|
||||
|
||||
reloadList(page);
|
||||
});
|
||||
|
@ -110,7 +110,7 @@
|
|||
|
||||
function renderPlugins(page, plugins, showNoPluginsMessage) {
|
||||
|
||||
ApiClient.fetchJSON(ApiClient.getUrl("dashboard/configurationpages") + "?pageType=PluginConfiguration").then(function (configPages) {
|
||||
ApiClient.getJSON(ApiClient.getUrl("dashboard/configurationpages") + "?pageType=PluginConfiguration").then(function (configPages) {
|
||||
|
||||
populateList(page, plugins, configPages, showNoPluginsMessage);
|
||||
|
||||
|
@ -213,7 +213,7 @@
|
|||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.getInstalledPlugins().done(function (plugins) {
|
||||
ApiClient.getInstalledPlugins().then(function (plugins) {
|
||||
|
||||
renderPlugins(page, plugins, true);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue