From 54a71e596b10d6c54dc557da5ba1e97266010971 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 2 Dec 2013 10:47:24 -0500 Subject: [PATCH] have manual person image provider download data if not already present --- dashboard-ui/scripts/edititemmetadata.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/scripts/edititemmetadata.js b/dashboard-ui/scripts/edititemmetadata.js index aaa15128d5..01ce32dfab 100644 --- a/dashboard-ui/scripts/edititemmetadata.js +++ b/dashboard-ui/scripts/edititemmetadata.js @@ -669,7 +669,6 @@ $('#fldPremiereDate', page).hide(); $('#fldSortName', page).hide(); $('#fldDateAdded', page).hide(); - $('#fldSourceType', page).hide(); $('#fldYear', page).hide(); $('.fldRefresh', page).hide(); } else { @@ -678,11 +677,16 @@ $('#fldPremiereDate', page).show(); $('#fldSortName', page).show(); $('#fldDateAdded', page).show(); - $('#fldSourceType', page).show(); $('#fldYear', page).show(); $('.fldRefresh', page).show(); } + if (item.MediaType == "Video" && item.Type != "Channel") { + $('#fldSourceType', page).show(); + } else { + $('#fldSourceType', page).hide(); + } + if (item.Type == "Person") { $('#lblPremiereDate', page).html('Date of birth'); $('#lblYear', page).html('Birth year');