diff --git a/dashboard-ui/scripts/sections.js b/dashboard-ui/scripts/sections.js index 54a98cbf3e..68654e64db 100644 --- a/dashboard-ui/scripts/sections.js +++ b/dashboard-ui/scripts/sections.js @@ -17,25 +17,6 @@ } list.push(view); - - if (view.CollectionType == 'livetv') { - - var guideView = $.extend({}, view); - guideView.Name = Globalize.translate('ButtonGuide'); - guideView.ImageTags = {}; - guideView.icon = 'dvr'; - guideView.url = 'livetv.html?tab=1'; - guideView.onclick = "LibraryBrowser.showTab('livetv.html', 1);event.preventDefault();event.stopPropagation();return false;"; - list.push(guideView); - - var recordedTvView = $.extend({}, view); - recordedTvView.Name = Globalize.translate('ButtonRecordedTv'); - recordedTvView.ImageTags = {}; - recordedTvView.icon = 'video-library'; - recordedTvView.url = 'livetv.html?tab=3'; - recordedTvView.onclick = "LibraryBrowser.showTab('livetv.html', 3);event.preventDefault();event.stopPropagation();return false;"; - list.push(recordedTvView); - } } return list;