mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add option to merge metadata and IBN paths
This commit is contained in:
parent
3969693dad
commit
2bcfc0f0ba
13 changed files with 31 additions and 23 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
if (showManualForm) {
|
||||
|
||||
LoginPage.showManualForm(page, false);
|
||||
LoginPage.showManualForm(page, false, false);
|
||||
|
||||
} else {
|
||||
LoginPage.showVisualForm(page);
|
||||
|
@ -36,10 +36,15 @@
|
|||
LoginPage.showVisualForm($.mobile.activePage);
|
||||
},
|
||||
|
||||
showManualForm: function (page, showCancel) {
|
||||
showManualForm: function (page, showCancel, focusPassword) {
|
||||
$('.visualLoginForm', page).hide();
|
||||
$('#manualLoginForm', page).show();
|
||||
$('#txtManualName', page).focus();
|
||||
|
||||
if (focusPassword) {
|
||||
$('#txtManualPassword', page).focus();
|
||||
} else {
|
||||
$('#txtManualName', page).focus();
|
||||
}
|
||||
|
||||
if (showCancel) {
|
||||
$('.btnCancel', page).show();
|
||||
|
@ -175,7 +180,7 @@
|
|||
} else {
|
||||
$('#txtManualName', page).val(name);
|
||||
$('#txtManualPassword', '#loginPage').val('');
|
||||
LoginPage.showManualForm(page, true);
|
||||
LoginPage.showManualForm(page, true, true);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue