1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Allow editing of original title for Season and Episode items

This commit is contained in:
LJQ 2024-08-29 15:14:57 +08:00
parent 91d3a9b161
commit 872d71df3d

View file

@ -540,8 +540,7 @@ function setFieldVisibilities(context, item) {
} else {
hideElement('#fldPath', context);
}
if (item.Type === 'Series' || item.Type === 'Movie' || item.Type === 'Trailer' || item.Type === 'Person') {
if (item.Type === 'Series' || item.Type === 'Season' || item.Type === 'Episode' || item.Type === 'Movie' || item.Type === 'Trailer' || item.Type === 'Person') {
showElement('#fldOriginalName', context);
} else {
hideElement('#fldOriginalName', context);