summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/musicpools.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/js/musicpools.js b/www/js/musicpools.js
index 58359ad..ec5f864 100644
--- a/www/js/musicpools.js
+++ b/www/js/musicpools.js
@@ -80,6 +80,7 @@ MusicpoolsView.prototype.updateSelector = function() {
var self = this;
var $musicpoolSelector = $('#musicpool-selector');
+ $musicpoolSelector.off();
$('option', $musicpoolSelector).remove();
$(this.model.groups).each(function(index, musicpool) {
@@ -120,8 +121,6 @@ var Musicpool = function(title, clock, groupName, description, lowcart, highcart
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);
@@ -137,7 +136,6 @@ Musicpool.prototype.render = function() {
};
Musicpool.prototype.fetchCarts = function(success) {
- console.log('fetchCarts!');
var self = this;
rivendell.listCarts(this.groupName, 1, function(cartsXml, status, req) {
self.carts = [];