equal
deleted
inserted
replaced
92 |
92 |
93 modalItem: Ember.computed('detail', function() { |
93 modalItem: Ember.computed('detail', function() { |
94 return this.store.findRecord('document', this.get('detail')); |
94 return this.store.findRecord('document', this.get('detail')); |
95 }), |
95 }), |
96 |
96 |
97 itemIdObserver: Ember.observer('player.itemId', function() { |
97 itemIdObserver: Ember.observer('player.item', function() { |
98 var self = this; |
98 var self = this; |
99 this.store.findRecord('document', this.get('player').get('itemId'), { reload: true }).then(function(it){ |
99 this.store.findRecord('document', this.get('player').get('item'), { reload: true }).then(function(it){ |
100 self.get('player').set('item', it); |
100 self.get('player').set('model', it); |
101 }); |
101 }); |
102 }), |
102 }), |
103 |
103 |
104 init: function() { |
104 init: function() { |
105 this._super(...arguments); |
105 this._super(...arguments); |