update listviews

This commit is contained in:
Luke Pulverenti 2016-07-16 01:05:40 -04:00
parent 3197c48232
commit 1032fa887e
54 changed files with 2271 additions and 376 deletions

View file

@ -1,4 +1,4 @@
define(['appStorage', 'jQuery'], function (appStorage, $) {
define(['appStorage', 'jQuery', 'listView'], function (appStorage, $, listView) {
var data = {};
function getPageData() {
@ -60,15 +60,14 @@
if (view == "List") {
html = LibraryBrowser.getListViewHtml({
html = listView.getListViewHtml({
items: result.Items,
sortBy: query.SortBy,
showIndex: false,
showRemoveFromPlaylist: true,
playFromHere: true,
defaultAction: 'playallfromhere',
action: 'playallfromhere',
smallIcon: true
});
}