summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-01-21 17:58:20 +0200
committerAlon Levy <alon@pobox.com>2015-01-21 17:58:29 +0200
commit305db31d00648b23c2b4114e371aaccf7a297bc8 (patch)
tree4a3fd3b66ec4e9ac70e038bf85c16b2b922ec0ed
parentd0733ebdc53aecb405d1ac1002da6989159cfa61 (diff)
client: don't show dialog on topo diffs: Fixes #285
-rw-r--r--src/client/view/graph_view.js5
1 files changed, 2 insertions, 3 deletions
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);