mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
show path on edit page
This commit is contained in:
parent
64f2fa4d1d
commit
7b75b71264
2 changed files with 14 additions and 0 deletions
|
@ -348,6 +348,12 @@
|
|||
|
||||
function setFieldVisibilities(page, item) {
|
||||
|
||||
if (item.Path) {
|
||||
$('#fldPath', page).show();
|
||||
} else {
|
||||
$('#fldPath', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Series" || item.Type == "Person") {
|
||||
$('#fldEndDate', page).show();
|
||||
} else {
|
||||
|
@ -570,6 +576,7 @@
|
|||
}
|
||||
populateInternetProviderSettings(page, item.LockedFields);
|
||||
|
||||
$('#txtPath', page).val(item.Path || '');
|
||||
$('#txtName', page).val(item.Name || "");
|
||||
$('#txtOverview', page).val(item.Overview || "");
|
||||
$('#txtSortName', page).val(item.SortName || "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue