mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
Charts: Adding chart subset selection filter, setting zoomable charts as default
This commit is contained in:
@@ -54,7 +54,7 @@ var View = Backbone.View.extend(
|
||||
// set content padding
|
||||
if (this.options.nopadding) {
|
||||
$portlet_content.css('padding', '0px');
|
||||
$content.css('padding', '0px');
|
||||
this.$content.css('padding', '0px');
|
||||
}
|
||||
|
||||
// append buttons
|
||||
|
||||
@@ -158,7 +158,8 @@ var View = Backbone.View.extend(
|
||||
|
||||
// show selected tab
|
||||
if (id) {
|
||||
this.$el.find('.active').removeClass('active');
|
||||
this.$el.find('.tab-element').removeClass('active');
|
||||
this.$el.find('.tab-pane').removeClass('active');
|
||||
this.$el.find('#tab-' + id).addClass('active');
|
||||
this.$el.find('#tab-content-' + id).addClass('active');
|
||||
}
|
||||
@@ -218,7 +219,7 @@ var View = Backbone.View.extend(
|
||||
|
||||
// fill template tab
|
||||
_template_tab: function(options) {
|
||||
var tmpl = '<li id="tab-' + options.id + '">' +
|
||||
var tmpl = '<li id="tab-' + options.id + '" class="tab-element">' +
|
||||
'<a id="tab-title-link-' + options.id + '" title="" href="#tab-content-' + options.id + '" data-original-title="">' +
|
||||
'<span id="tab-title-text-' + options.id + '">' + options.title + '</span>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user