From 68bba9b0734adc61ca398a82232f109ffd4ca908 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 10 Jul 2013 16:10:55 -0400 Subject: [PATCH] support editing artist/album for music video --- 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 05e5a22e54..aa586699f1 100644 --- a/dashboard-ui/scripts/edititemmetadata.js +++ b/dashboard-ui/scripts/edititemmetadata.js @@ -138,13 +138,17 @@ } if (item.Type == "Audio") { + $('#fldAlbumArtist', page).show(); + } else { + $('#fldAlbumArtist', page).hide(); + } + + if (item.Type == "Audio" || item.Type == "MusicVideo") { $('#fldArtist', page).show(); $('#fldAlbum', page).show(); - $('#fldAlbumArtist', page).show(); } else { $('#fldArtist', page).hide(); $('#fldAlbum', page).hide(); - $('#fldAlbumArtist', page).hide(); } if (item.Type == "Movie" || item.Type == "Trailer" || item.Type == "Person" || item.Type == "Series" || item.Type == "Season" || item.Type == "Episode" || item.Type == "MusicVideo") {