From 305db31d00648b23c2b4114e371aaccf7a297bc8 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 21 Jan 2015 17:58:20 +0200 Subject: client: don't show dialog on topo diffs: Fixes #285 --- src/client/view/graph_view.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client') diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 5d2a92a4..2315eb10 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -162,9 +162,8 @@ function GraphView(spec) { return false; }); - // FIXME - attribute diff, ignore uninteresting diffs via filtering - graph.diffBus.onValue(function () { - if (closed) { + graph.diffBus.onValue(function (diff) { + if (closed || !model_diff.is_attr_diff(diff)) { return Bacon.noMore; } view.node_info.show(node); -- cgit v1.3.1