remove dead code

This commit is contained in:
Luke Pulverenti 2017-01-26 23:15:05 -05:00
parent 8b14acb597
commit 8d826196fe
2 changed files with 0 additions and 11 deletions

View File

@ -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 {

View File

@ -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>