mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
remove dead code
This commit is contained in:
parent
8b14acb597
commit
8d826196fe
@ -152,7 +152,6 @@
|
||||
Metascore: form.querySelector('#txtMetascore').value,
|
||||
AwardSummary: form.querySelector('#txtAwardSummary').value,
|
||||
Overview: form.querySelector('#txtOverview').value,
|
||||
ShortOverview: form.querySelector('#txtShortOverview').value,
|
||||
Status: form.querySelector('#selectStatus').value,
|
||||
AirDays: getSelectedAirDays(form),
|
||||
AirTime: form.querySelector('#txtAirTime').value,
|
||||
@ -842,7 +841,6 @@
|
||||
context.querySelector('#txtName').value = item.Name || "";
|
||||
context.querySelector('#txtOriginalName').value = item.OriginalTitle || "";
|
||||
context.querySelector('#txtOverview').value = item.Overview || '';
|
||||
context.querySelector('#txtShortOverview').value = item.ShortOverview || "";
|
||||
context.querySelector('#txtTagline').value = (item.Taglines && item.Taglines.length ? item.Taglines[0] : '');
|
||||
context.querySelector('#txtSortName').value = item.ForcedSortName || "";
|
||||
context.querySelector('#txtDisplayMediaType').value = item.DisplayMediaType || "";
|
||||
@ -1135,12 +1133,6 @@
|
||||
setFieldVisibilities(context, item);
|
||||
fillItemInfo(context, item, metadataEditorInfo.ParentalRatingOptions);
|
||||
|
||||
if (item.MediaType === "Video" && item.Type !== "Episode") {
|
||||
showElement('#fldShortOverview', context);
|
||||
} else {
|
||||
hideElement('#fldShortOverview', context);
|
||||
}
|
||||
|
||||
if (item.MediaType === "Video" && item.Type !== "Episode") {
|
||||
showElement('#fldTagline', context);
|
||||
} else {
|
||||
|
@ -86,9 +86,6 @@
|
||||
<div class="inputContainer">
|
||||
<textarea is="emby-textarea" id="txtOverview" label="${LabelOverview}"></textarea>
|
||||
</div>
|
||||
<div id="fldShortOverview" class="hide inputContainer">
|
||||
<input is="emby-input" id="txtShortOverview" type="text" label="${LabelShortOverview}" />
|
||||
</div>
|
||||
<div id="fldPremiereDate" class="inputContainer">
|
||||
<input is="emby-input" id="txtPremiereDate" label="${LabelReleaseDate}" type="date" />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user