commit/galaxy-central: jgoecks: Bug fixes to Trackster ReferenceDataManager.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/8cbd9e1a9bee/ changeset: 8cbd9e1a9bee user: jgoecks date: 2011-10-18 16:50:16 summary: Bug fixes to Trackster ReferenceDataManager. affected #: 1 file (-1 bytes) --- a/static/scripts/trackster.js Tue Oct 18 09:51:39 2011 -0400 +++ b/static/scripts/trackster.js Tue Oct 18 10:50:16 2011 -0400 @@ -561,13 +561,13 @@ DataManager.call(this, num_elements, track, subset); }; extend(ReferenceTrackDataManager.prototype, DataManager.prototype, Cache.prototype, { - load_data: function(chrom, low, high, mode, resolution, extra_params) { + load_data: function(low, high, mode, resolution, extra_params) { if (resolution > 1) { // Now that data is pre-fetched before draw, we don't load reference tracks - // unless it's at the bottom level - return; + // unless it's at the bottom level. + return { data: null }; } - return DataManager.prototype.load_data.call(this, chrom, low, high, mode, resolution, extra_params); + return DataManager.prototype.load_data.call(this, low, high, mode, resolution, extra_params); } }); 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