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

fixes #381 - Add Video3DFormat to edit page

This commit is contained in:
Luke Pulverenti 2013-07-29 08:34:46 -04:00
parent 20176b922f
commit ddaa17ce64
2 changed files with 19 additions and 0 deletions

View file

@ -154,6 +154,12 @@
$('#fldAirTime', page).hide();
}
if (item.MediaType == "Video") {
$('#fld3dFormat', page).show();
} else {
$('#fld3dFormat', page).hide();
}
if (item.Type == "Audio") {
$('#fldAlbumArtist', page).show();
} else {
@ -281,6 +287,8 @@
populateStatus(selectStatus);
selectStatus.val(item.Status || "").selectmenu('refresh');
$('#select3dFormat', page).val(item.Video3DFormat || "").selectmenu('refresh');
populateListView($('#listAirDays', page), item.AirDays);
populateListView($('#listGenres', page), item.Genres);
populateListView($('#listStudios', page), item.Studios.map(function (element) { return element.Name || ''; }));
@ -538,6 +546,7 @@
EndDate: $('#txtEndDate', form).val(),
ProductionYear: $('#txtProductionYear', form).val(),
AspectRatio: $('#txtOriginalAspectRatio', form).val(),
Video3DFormat: $('#select3dFormat', form).val(),
Language: $('#selectLanguage', form).val(),
OfficialRating: $('#selectOfficialRating', form).val(),