removed dead code

This commit is contained in:
Luke Pulverenti 2016-07-31 02:21:49 -04:00
parent c6c6ec116a
commit 3c1565e47d
7 changed files with 11 additions and 87 deletions

View File

@ -1,4 +1,4 @@
define(['datetime', 'imageLoader', 'connectionManager'], function (datetime, imageLoader, connectionManager) {
define(['datetime', 'imageLoader', 'connectionManager', 'itemShortcuts'], function (datetime, imageLoader, connectionManager, itemShortcuts) {
function buildChapterCardsHtml(item, chapters, options) {
@ -121,6 +121,9 @@ define(['datetime', 'imageLoader', 'connectionManager'], function (datetime, ima
options.itemsContainer.innerHTML = html;
imageLoader.lazyChildren(options.itemsContainer);
itemShortcuts.off(options.itemsContainer);
itemShortcuts.on(options.itemsContainer);
}
return {

View File

@ -121,8 +121,10 @@
searchImages[i].addEventListener('click', onSearchImageClick);
}
if (layoutManager.tv) {
focusManager.autoFocus(identificationSearchResults);
}
}
function finishFindNewDialog(dlg, identifyResult) {
currentSearchResult = identifyResult;

View File

@ -30,7 +30,7 @@
<div class="identificationSearchResults hide">
<h1>${SearchResults}</h1>
<div class="identificationSearchResultList itemsContainer vertical-wrap centered"></div>
<div class="identificationSearchResultList itemsContainer vertical-wrap"></div>
</div>
<form class="identifyOptionsForm hide" style="margin:auto;">

View File

@ -1,80 +0,0 @@
.tileItem {
padding: 5px 7px 5px 0;
font-weight: normal !important;
display: block;
position: relative;
-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
-o-transition: all 500ms ease;
-ms-transition: all 500ms ease;
transition: all 500ms ease;
color: inherit!important;
}
.tileItem .starRating {
width: 16px;
height: 14px;
}
.tileItem .rottentomatoesicon {
height: 14px;
width: 14px;
}
.tileItem .criticRating {
position: relative;
top: -2px;
}
.tileImage {
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
background-position: center top;
}
.defaultTileImage {
background-color: #555;
}
.tileItem p {
margin: 1em 0 0;
}
.tileContent {
display: inline-block;
padding-left: 10px;
text-align: left;
vertical-align: top;
overflow: hidden;
}
.smallPosterTileItem .tileImage {
height: 150px;
width: 35%;
}
.smallPosterTileItem .tileContent {
width: 60%;
}
@media all and (min-width: 540px) {
.tileItem {
display: inline-block;
margin-left: 3px;
margin-right: 3px;
}
.smallPosterTileItem {
width: 46%;
display: inline-block;
}
}
@media all and (min-width: 750px) {
.smallPosterTileItem {
width: 30.5%;
}
}

View File

@ -154,7 +154,7 @@
<button is="paper-icon-button-light" class="autoSize"><i class="md-icon">settings</i></button>
</a>
</h1>
<div is="emby-itemscontainer" id="scenesContent" class="itemsContainer"></div>
<div id="scenesContent" class="itemsContainer"></div>
<button is="emby-button" type="button" class="raised more moreScenes hide">${ButtonMore}</button>
</div>
<div id="themeSongsCollapsible" class="detailSection hide">

View File

@ -1856,7 +1856,6 @@ var AppInfo = {};
define("livetvcss", ['css!css/livetv.css']);
define("detailtablecss", ['css!css/detailtable.css']);
define("tileitemcss", ['css!css/tileitem.css']);
define("buttonenabled", ["legacy/buttonenabled"]);
@ -2204,7 +2203,7 @@ var AppInfo = {};
defineRoute({
path: '/itemdetails.html',
dependencies: ['emby-button', 'tileitemcss', 'scripts/livetvcomponents', 'paper-icon-button-light', 'emby-itemscontainer'],
dependencies: ['emby-button', 'scripts/livetvcomponents', 'paper-icon-button-light', 'emby-itemscontainer'],
controller: 'scripts/itemdetailpage',
autoFocus: false,
transition: 'fade'

View File

@ -1,4 +1,4 @@
<div id="publicSharedItemPage" data-role="page" class="page standalonePage noSecondaryNavPage" data-theme="b" data-require="scripts/shared,scripts/itemdetailpage,tileitemcss,scripts/livetvcomponents">
<div id="publicSharedItemPage" data-role="page" class="page standalonePage noSecondaryNavPage" data-theme="b" data-require="scripts/shared,scripts/itemdetailpage,scripts/livetvcomponents">
<style>
#publicSharedItemPage .header {