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

Fix spinning circle at the end of config wizard.

Adds some functions to navigate directly to url, instead of relatively.
This commit is contained in:
Riccardo Zanotto 2019-01-11 13:40:36 +01:00
parent 02918d066f
commit b7e857127c
4 changed files with 18 additions and 2 deletions

View file

@ -89,6 +89,13 @@ var Dashboard = {
})
})
},
navigate_direct: function(path) {
return new Promise(function(resolve, reject) {
require(["appRouter"], function(appRouter) {
return appRouter.showDirect(path).then(resolve, reject)
})
})
},
processPluginConfigurationUpdateResult: function() {
require(["loading", "toast"], function(loading, toast) {
loading.hide(), toast(Globalize.translate("MessageSettingsSaved"))