add extra multi-episode unit test

This commit is contained in:
Luke Pulverenti 2013-09-05 08:48:14 -04:00
parent dba69cf2cd
commit d1da613d04
2 changed files with 3 additions and 4 deletions

View File

@ -141,7 +141,7 @@
$('#trailersCollapsible', page).removeClass('hide');
renderTrailers(page, item);
}
if (!item.SpecialFeatureCount || item.SpecialFeatureCount == 0) {
if (!item.SpecialFeatureCount || item.SpecialFeatureCount == 0 || item.Type == "Series") {
$('#specialsCollapsible', page).addClass('hide');
} else {
$('#specialsCollapsible', page).removeClass('hide');
@ -437,8 +437,7 @@
ParentId: item.Id,
SortBy: sortBy,
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData,AudioInfo",
MinIndexNumber: item.Type == "Series" ? 1 : null
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData,AudioInfo"
}).done(function (result) {

View File

@ -16,7 +16,7 @@
<div class="wizardNavigation">
<button type="button" data-iconpos="left" data-icon="arrow-left" data-inline="true" onclick="history.back();">Previous</button>
<button type="button" data-iconpos="right" data-icon="dashboard" data-inline="true" onclick="WizardFinishPage.onFinish();" data-theme="b">Go to the Dashboard</button>
<button type="button" data-iconpos="right" data-icon="dashboard" data-inline="true" onclick="WizardFinishPage.onFinish();" data-theme="b">Finish</button>
</div>
</div>