1
0
Fork 0
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:
Techywarrior 2013-03-28 20:50:46 -07:00
parent 1e5d5344a4
commit 60002c5535
5 changed files with 23 additions and 15 deletions

View file

@ -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");
}
},