diff options
Diffstat (limited to 'assets/js/views/sample-editor.js')
| -rw-r--r-- | assets/js/views/sample-editor.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/js/views/sample-editor.js b/assets/js/views/sample-editor.js index 6accd89..088e588 100644 --- a/assets/js/views/sample-editor.js +++ b/assets/js/views/sample-editor.js @@ -1,5 +1,10 @@ ClipPlay.Views.SampleEditor = Marionette.CollectionView.extend({ itemView: ClipPlay.Views.Sample, + itemViewOptions: function(model, index) { + return { + collection: this.collection + }; + }, onRender: function() { // Initialize view for adding new samples |
