summaryrefslogtreecommitdiffstats
path: root/assets/js/views/sample-editor.js
diff options
context:
space:
mode:
authorTeddy Wing2013-11-10 10:53:52 -0500
committerTeddy Wing2013-11-10 10:53:52 -0500
commit8c850747e64101035f8b4b48016f2b17714beea4 (patch)
treed37cd7f7acf9462e79d380cc6dc051d7b0df1ac0 /assets/js/views/sample-editor.js
parentb8489c7cb7fbabb1186197bd546a6800bb55d0bf (diff)
downloadclip-play-8c850747e64101035f8b4b48016f2b17714beea4.tar.bz2
Remove sample progress bar on '-' button click
Diffstat (limited to 'assets/js/views/sample-editor.js')
-rw-r--r--assets/js/views/sample-editor.js5
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