mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 14:09:28 -02:30
Prevent mousedown on details link from triggering pan functionality
This commit is contained in:
@@ -1058,6 +1058,9 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
|
|||||||
.attr("dy", ".35em")
|
.attr("dy", ".35em")
|
||||||
.attr("class", "WorkflowChart-detailsLink")
|
.attr("class", "WorkflowChart-detailsLink")
|
||||||
.style("display", function(d){ return d.job && d.job.status && d.job.id ? null : "none"; })
|
.style("display", function(d){ return d.job && d.job.status && d.job.id ? null : "none"; })
|
||||||
|
.on("mousedown", function(){
|
||||||
|
d3.event.stopPropagation();
|
||||||
|
})
|
||||||
.html(function (d) {
|
.html(function (d) {
|
||||||
let href = "";
|
let href = "";
|
||||||
if (d.job) {
|
if (d.job) {
|
||||||
|
|||||||
Reference in New Issue
Block a user