commit/galaxy-central: guerler: Charts: Fix last change
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c972ce1e3e88/ Changeset: c972ce1e3e88 User: guerler Date: 2014-06-20 09:37:10 Summary: Charts: Fix last change Affected #: 1 file diff -r bace76c0aa9b41aa32b793506794cb69e38cf44e -r c972ce1e3e8840309dceaa40ac6858c3156fdff3 config/plugins/visualizations/charts/static/charts/others/heatmap/heatmap-plugin.js --- a/config/plugins/visualizations/charts/static/charts/others/heatmap/heatmap-plugin.js +++ b/config/plugins/visualizations/charts/static/charts/others/heatmap/heatmap-plugin.js @@ -207,11 +207,11 @@ // add tooltip events boxes.selectAll('rect') .on('dblclick', function(d) { - d3.event.stopPropagation(); - var xLabel = self.categories.array.x[d.x]; - var yLabel = self.categories.array.y[d.y]; var url = self.chart.settings.get('url_template').trim(); if (url) { + d3.event.stopPropagation(); + var xLabel = self.categories.array.x[d.x]; + var yLabel = self.categories.array.y[d.y]; window.open(url.replace('__LABEL__', xLabel)); window.open(url.replace('__LABEL__', yLabel)); } 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)
-
commits-noreply@bitbucket.org