update list views

This commit is contained in:
Luke Pulverenti 2016-07-16 19:39:10 -04:00
parent 0ce19d6e79
commit b5734e3e93
15 changed files with 277 additions and 158 deletions

View file

@ -46,10 +46,18 @@
require(['itemContextMenu'], function (itemContextMenu) {
itemContextMenu.show({
positionTo: button,
item: item
});
item: item,
play: true,
queue: true,
playAllFromHere: !item.IsFolder,
queueAllFromHere: !item.IsFolder
// TODO: playallfromhere, queueallfromhere
}).then(function(result) {
if (result.command == 'playallfromhere' || result.command == 'queueallfromhere') {
itemShortcuts.execute(button, result.command);
}
});
});
});
}