commit/galaxy-central: kanwei: trackster: Don't load huge reference tracks now that we pre-load data, preventing hang
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/9e3864eeeb0a/ changeset: r5372:9e3864eeeb0a user: kanwei date: 2011-04-13 05:41:06 summary: trackster: Don't load huge reference tracks now that we pre-load data, preventing hang affected #: 1 file (240 bytes) --- a/static/scripts/trackster.js Tue Apr 12 22:08:09 2011 -0400 +++ b/static/scripts/trackster.js Tue Apr 12 23:41:06 2011 -0400 @@ -244,6 +244,11 @@ * Load data from server; returns AJAX object so that use of Deferred is possible. */ load_data: function(chrom, low, high, mode, resolution, extra_params) { + if (this.track.track_type == "ReferenceTrack" && resolution > 1) { + // Now that data is pre-fetched before draw, we don't load reference tracks + // unless it's at the bottom level + return; + } // Setup data request params. var params = {"chrom": chrom, "low": low, "high": high, "mode": mode, "resolution": resolution, "dataset_id" : this.track.dataset_id, 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