1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/9eddcedc574e/ changeset: 9eddcedc574e user: jgoecks date: 2011-12-01 21:01:28 summary: Trackster: fix bug in determining when to display filters. affected #: 1 file diff -r eb9d842f9faf3b7c13d40c387b528b256f29b31a -r 9eddcedc574e0a071fce78f51b9352d3efb7635c static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -3459,13 +3459,17 @@ } // Determine if filters are available; this is based on the tiles' data. + // Criteria for filter to be available: (a) it is applicable to tile data and (b) filter min != filter max. var filters_available = false, - example_feature; + example_feature, + filter; for (var i = 0; i < tiles.length; i++) { if (tiles[i].data.length) { example_feature = tiles[i].data[0]; for (var f = 0; f < filters.length; f++) { - if (filters[f].applies_to(example_feature)) { + filter = filters[f]; + if ( filter.applies_to(example_feature) && + filter.min !== filter.max ) { filters_available = true; break; } 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.