From c0730aa5623a3ac3ec8b1fbc4a2cbd2e4e8fbccd Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 17 Dec 2018 15:20:34 -0500 Subject: [PATCH] Prevent mousedown on details link from triggering pan functionality --- .../workflows/workflow-chart/workflow-chart.directive.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js b/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js index 84ea6cf8ef..18275d4655 100644 --- a/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js +++ b/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js @@ -1058,6 +1058,9 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge .attr("dy", ".35em") .attr("class", "WorkflowChart-detailsLink") .style("display", function(d){ return d.job && d.job.status && d.job.id ? null : "none"; }) + .on("mousedown", function(){ + d3.event.stopPropagation(); + }) .html(function (d) { let href = ""; if (d.job) {