mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add server select support for NativeShell
This commit is contained in:
parent
254c69b2f1
commit
6d6cce02af
5 changed files with 17 additions and 3 deletions
|
@ -6,6 +6,10 @@ define(["apphost", "connectionManager", "listViewStyle", "emby-button"], functio
|
|||
Dashboard.logout();
|
||||
});
|
||||
|
||||
view.querySelector(".selectServer").addEventListener("click", function () {
|
||||
Dashboard.selectServer();
|
||||
});
|
||||
|
||||
view.addEventListener("viewshow", function() {
|
||||
// this page can also be used by admins to change user preferences from the user edit page
|
||||
var userId = params.userId || Dashboard.getCurrentUserId();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue