cms/app-client/app/services/player.js
changeset 252 ba4fd614582a
parent 251 ac320de33ec7
child 253 0be9770b09b4
--- a/cms/app-client/app/services/player.js	Fri Aug 05 14:55:45 2016 +0200
+++ b/cms/app-client/app/services/player.js	Fri Aug 05 15:06:06 2016 +0200
@@ -27,8 +27,12 @@
         this.set('progress', time);
     },
 
+    select: function (id) {
+        this.set('item', id);
+    },
+
     play: function(id) {
-        this.set('item', id);
+        this.select(id);
         this.set('playing', true);
     },