cms/app-client/app/components/player-component.js
changeset 91 acfeddc7821d
parent 87 24fef043ea0b
child 94 62984937a062
--- a/cms/app-client/app/components/player-component.js	Wed Jan 20 15:53:27 2016 +0100
+++ b/cms/app-client/app/components/player-component.js	Wed Jan 20 23:05:52 2016 +0100
@@ -5,11 +5,11 @@
   currentTime: "00:00",
   duration: "00:00",
 
-  _soundChanged: Ember.observer('sound', function() {
+  _documentChanged: Ember.observer('document', function() {
     this.pause();
     this.changeTime(0);
     this.updateProgress(0);
-    this.audio.src = this.get("sound").get("master");
+    this.audio.src = this.get("document").get("master");
     this.audio.load();
     this.set("currentTime", "00:00");
   }),
@@ -110,7 +110,7 @@
         this.play();
       }
     },
-    prevNextSong(change){
+    prevNextDocument(change){
       this.sendAction("action", change);
     }
   }