- this.element = $(element);
- this.model = model;
- this.template = template || this.template;
-
- this.element.html(render_template(this.template, {panels: panels}));
- $('select', this.element.get(0)).bind('change.panel-container-view', this.selectChanged.bind(this));
+ this._super(element, model, template);
+
+ $('.panel-main-toolbar select', this.element.get(0)).bind('change.panel-container-view', this.selectChanged.bind(this));
+ $('.panel-main-toolbar .refresh', this.element.get(0))
+ .bind('click.panel-container-view', this.refreshButtonClicked.bind(this))
+ .attr('disabled', 'disabled');