summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/musicpools.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/musicpools.js b/www/js/musicpools.js
index 30e9d70..93d4824 100644
--- a/www/js/musicpools.js
+++ b/www/js/musicpools.js
@@ -112,11 +112,18 @@ var Musicpool = function(title, clock, groupName, description, lowcart, highcart
this.trimlevel = trimlevel;
this.carts = [];
+
+ this.$el = null;
};
Musicpool.prototype.render = function() {
+ var self = this;
this.fetchCarts(function() {
console.log('render!');
+
+ self.$el = $('#hiddenTemplates .musicpoolTemplate').clone().removeClass('musicpoolTemplate');
+ $('#app-musicpools .musicpoolContainer').html(self.$el);
+
});
};