qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eal...@apache.org
Subject qpid-dispatch git commit: DISPATCH-1061 Clear console popups on mouse click
Date Tue, 03 Jul 2018 12:42:01 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/master c48c99c41 -> be5c1648d


DISPATCH-1061 Clear console popups on mouse click


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

Branch: refs/heads/master
Commit: be5c1648d9c799fe38fda28448bf0f593198668a
Parents: c48c99c
Author: Ernest Allen <eallen@redhat.com>
Authored: Tue Jul 3 08:41:46 2018 -0400
Committer: Ernest Allen <eallen@redhat.com>
Committed: Tue Jul 3 08:41:46 2018 -0400

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


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/be5c1648/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 9a48ba2..2fa11d2 100644
--- a/console/stand-alone/plugin/js/topology/qdrTopology.js
+++ b/console/stand-alone/plugin/js/topology/qdrTopology.js
@@ -225,7 +225,10 @@ export class TopologyController {
         .append('svg')
         .attr('id', 'SVG_ID')
         .attr('width', width)
-        .attr('height', height);
+        .attr('height', height)
+        .on('click', function () {
+          clearPopups();
+        });
 
       // the legend
       d3.select('#topo_svg_legend svg').remove();
@@ -440,7 +443,7 @@ export class TopologyController {
       d3.select('#multiple_details').style('display', 'none');
       d3.select('#link_details').style('display', 'none');
       d3.select('#node_context_menu').style('display', 'none');
-
+      d3.select('#popover-div').style('display', 'none');
     }
 
     function clearAllHighlights() {


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


Mime
View raw message