mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
focus primary element on forms
This commit is contained in:
parent
1e5d5344a4
commit
60002c5535
5 changed files with 23 additions and 15 deletions
|
@ -38,6 +38,8 @@
|
|||
EditUserPage.loadUser(response1[0] || response1, response2[0], response3[0], response4[0]);
|
||||
|
||||
});
|
||||
|
||||
$("#editUserProfileForm input:first").focus();
|
||||
},
|
||||
|
||||
loadUser: function (user, loggedInUser, allParentalRatings, allCultures) {
|
||||
|
@ -150,7 +152,7 @@
|
|||
if (userId) {
|
||||
Dashboard.alert("Settings saved.");
|
||||
} else {
|
||||
Dashboard.navigate("userprofiles.html");
|
||||
Dashboard.navigate("userProfiles.html");
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue