1
0
Fork 0
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:
Luke Pulverenti 2013-08-17 19:25:23 -04:00
parent 64f2fa4d1d
commit 7b75b71264
2 changed files with 14 additions and 0 deletions

View file

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