changeset 212 | f2c6080a73aa |
parent 209 | 35cb7200bb0a |
child 215 | 82878d132784 |
--- a/cms/app-client/app/components/playlist-component.js Tue Jun 28 23:36:40 2016 +0200 +++ b/cms/app-client/app/components/playlist-component.js Wed Jun 29 00:35:03 2016 +0200 @@ -42,7 +42,10 @@ actions: { setItem: function(id) { - this.get('player').set('itemId', id); + this.get('player').set('item', id); + this.get('player').set('items', this.get('documents').map(function(document) { + return document.get('id'); + })); } }