commit/galaxy-central: jgoecks: Trackster bug fix: initialize name in track preferences.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/405be33f6565/ changeset: 405be33f6565 user: jgoecks date: 2012-02-22 16:53:53 summary: Trackster bug fix: initialize name in track preferences. affected #: 1 file diff -r 26850ea32e94f7451ad5b808398ee873828308e4 -r 405be33f6565c486b65a4bde33883572e1722eb0 static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -679,7 +679,7 @@ this.config = new DrawableConfig({ track: this, params: [ - { key: 'name', label: 'Name', type: 'text', default_value: name } + { key: 'name', label: 'Name', type: 'text', default_value: this.name } ], saved_values: obj_dict.prefs, onchange: function() { @@ -4193,7 +4193,7 @@ this.config = new DrawableConfig( { track: this, params: [ - { key: 'name', label: 'Name', type: 'text', default_value: name }, + { key: 'name', label: 'Name', type: 'text', default_value: this.name }, { key: 'color', label: 'Color', type: 'color', default_value: get_random_color() }, { key: 'min_value', label: 'Min Value', type: 'float', default_value: undefined }, { key: 'max_value', label: 'Max Value', type: 'float', default_value: undefined }, @@ -4358,7 +4358,7 @@ this.config = new DrawableConfig( { track: this, params: [ - { key: 'name', label: 'Name', type: 'text', default_value: name }, + { key: 'name', label: 'Name', type: 'text', default_value: this.name }, { key: 'block_color', label: 'Block color', type: 'color', default_value: get_random_color() }, { key: 'label_color', label: 'Label color', type: 'color', default_value: 'black' }, { key: 'show_counts', label: 'Show summary counts', type: 'bool', default_value: true, @@ -4794,7 +4794,7 @@ this.config = new DrawableConfig( { track: this, params: [ - { key: 'name', label: 'Name', type: 'text', default_value: name }, + { key: 'name', label: 'Name', type: 'text', default_value: this.name }, { key: 'block_color', label: 'Block color', type: 'color', default_value: get_random_color() }, { key: 'label_color', label: 'Label color', type: 'color', default_value: 'black' }, { key: 'show_insertions', label: 'Show insertions', type: 'bool', default_value: false }, @@ -4824,7 +4824,7 @@ this.config = new DrawableConfig( { track: this, params: [ - { key: 'name', label: 'Name', type: 'text', default_value: name }, + { key: 'name', label: 'Name', type: 'text', default_value: this.name }, { key: 'block_color', label: 'Block and sense strand color', type: 'color', default_value: block_color }, { key: 'reverse_strand_color', label: 'Antisense strand color', type: 'color', default_value: reverse_strand_color }, { key: 'label_color', label: 'Label color', type: 'color', default_value: 'black' }, Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket