cms/app-client/app/controllers/application.js
changeset 194 02c6aa9a99d7
parent 193 64afd482ac71
child 196 7550cb541901
--- a/cms/app-client/app/controllers/application.js	Sun Jun 19 23:58:21 2016 +0200
+++ b/cms/app-client/app/controllers/application.js	Mon Jun 20 15:55:51 2016 +0200
@@ -34,7 +34,7 @@
             return null;
         }
         Ember.$("div[id='" + this.get('currentId') + "']").toggleClass("playing", true);
-        return this.store.findRecord('document', this.get('currentId');
+        return this.store.findRecord('document', this.get('currentId'));
     }),
 
     modalItem: Ember.computed('detail', function() {