This is an automated email from the ASF dual-hosted git repository.

eallen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 1cbc2d7  DISPATCH-1263 Fixed the urlPrefix for sender/receiver symbols
1cbc2d7 is described below

commit 1cbc2d7b97cc645464137bdf19b840ca7110b2ec
Author: Ernest Allen <eal...@redhat.com>
AuthorDate: Mon Feb 4 11:38:44 2019 -0500

    DISPATCH-1263 Fixed the urlPrefix for sender/receiver symbols
---
 console/stand-alone/plugin/css/dispatch.css           | 3 ---
 console/stand-alone/plugin/js/topology/qdrTopology.js | 7 ++++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/console/stand-alone/plugin/css/dispatch.css 
b/console/stand-alone/plugin/css/dispatch.css
index 709ce43..39a7284 100644
--- a/console/stand-alone/plugin/css/dispatch.css
+++ b/console/stand-alone/plugin/css/dispatch.css
@@ -1064,9 +1064,6 @@ svg {
   circle.node.inter-router {
       fill: #EAEAEA;
   }
-  circle.node.normal {
-    fill: #FAFAFA;
-  }
   circle.node.normal.in {
       fill: #F0F000;
   }
diff --git a/console/stand-alone/plugin/js/topology/qdrTopology.js 
b/console/stand-alone/plugin/js/topology/qdrTopology.js
index 9b75668..abc932a 100644
--- a/console/stand-alone/plugin/js/topology/qdrTopology.js
+++ b/console/stand-alone/plugin/js/topology/qdrTopology.js
@@ -267,6 +267,7 @@ export class TopologyController {
       mouseover_node = null;
       selected_node = null;
 
+      d3.select("#SVG_ID").remove();
       if (d3.select("#SVG_ID").empty()) {
         svg = d3
           .select("#topology")
@@ -623,7 +624,7 @@ export class TopologyController {
           );
         });
 
-      appendCircle(enterCircle)
+      appendCircle(enterCircle, urlPrefix)
         .on("mouseover", function (d) {
           // mouseover a circle
           $scope.current_node = d;
@@ -795,8 +796,8 @@ export class TopologyController {
 
     function updateLegend() {
       // dynamically create/update the legend based on which node types are 
present
-      let lsvg = new Legend(svg);
-      lsvg.update(svg, QDRLog, urlPrefix);
+      let lsvg = new Legend(svg, QDRLog, urlPrefix);
+      lsvg.update(svg);
     }
 
     function showToolTip(title, event) {


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

Reply via email to