You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2018/11/05 11:59:49 UTC

qpid-dispatch git commit: DISPATCH-1166 Fix traffic animation on console's topology page

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 40a00fc3c -> f67377c99


DISPATCH-1166 Fix traffic animation on console's topology page


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/f67377c9
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/f67377c9
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/f67377c9

Branch: refs/heads/master
Commit: f67377c999bd7e20044228a1f61e67562f34937a
Parents: 40a00fc
Author: Ernest Allen <ea...@redhat.com>
Authored: Mon Nov 5 06:59:38 2018 -0500
Committer: Ernest Allen <ea...@redhat.com>
Committed: Mon Nov 5 06:59:38 2018 -0500

----------------------------------------------------------------------
 console/stand-alone/plugin/js/topology/qdrTopology.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/f67377c9/console/stand-alone/plugin/js/topology/qdrTopology.js
----------------------------------------------------------------------
diff --git a/console/stand-alone/plugin/js/topology/qdrTopology.js b/console/stand-alone/plugin/js/topology/qdrTopology.js
index fc9f6e6..eeb4496 100644
--- a/console/stand-alone/plugin/js/topology/qdrTopology.js
+++ b/console/stand-alone/plugin/js/topology/qdrTopology.js
@@ -447,10 +447,7 @@ export class TopologyController {
       circle.call(force.drag);
 
       // path (link) group
-      path = path.data(links.links, function(d) {return d.uid;})
-        .attr('id', function (d) {
-          return ['path', d.source.index, d.target.index].join('-');
-        });
+      path = path.data(links.links, function(d) {return d.uid;});
 
       // update existing links
       path.selectAll('.link')
@@ -513,6 +510,9 @@ export class TopologyController {
         })
         .attr('marker-start', function(d) {
           return d.left ? `url(${urlPrefix}#start${d.markerId(d)})` : null;
+        })
+        .attr('id', function (d) {
+          return ['path', d.source.index, d.target.index].join('-');
         });
 
       enterpath.append('path')


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org