audio page progress
This commit is contained in:
parent
d775c77482
commit
03a19ef190
11 changed files with 277 additions and 44 deletions
|
@ -127,10 +127,18 @@
|
|||
|
||||
function setInitialCollapsibleState(page, item) {
|
||||
|
||||
if (item.ChildCount) {
|
||||
if (item.ChildCount && item.Type == "MusicAlbum") {
|
||||
$('#itemSongs', page).show();
|
||||
$('#childrenCollapsible', page).hide();
|
||||
renderChildren(page, item);
|
||||
}
|
||||
else if (item.ChildCount) {
|
||||
$('#itemSongs', page).hide();
|
||||
$('#childrenCollapsible', page).show();
|
||||
renderChildren(page, item);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$('#itemSongs', page).hide();
|
||||
$('#childrenCollapsible', page).hide();
|
||||
}
|
||||
if (LibraryBrowser.shouldDisplayGallery(item)) {
|
||||
|
@ -212,7 +220,7 @@
|
|||
|
||||
if (item.Type == "MusicAlbum") {
|
||||
|
||||
$('#childrenContent', page).html(LibraryBrowser.getSongTableHtml(result.Items)).trigger('create');
|
||||
$('#itemSongs', page).html(LibraryBrowser.getSongTableHtml(result.Items)).trigger('create');
|
||||
|
||||
} else {
|
||||
var html = LibraryBrowser.getPosterDetailViewHtml({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue