From 546ee33efaaa0df3e121a7ba5c16bc3aa1a0aeeb Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 6 Jan 2015 21:40:40 +0200 Subject: client: adapt to new node_id_set_add and link_id_set_add, renames all around --- src/client/view/selection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/view/selection.js') diff --git a/src/client/view/selection.js b/src/client/view/selection.js index 4d8495a5..28c5e9a8 100644 --- a/src/client/view/selection.js +++ b/src/client/view/selection.js @@ -18,13 +18,13 @@ var selected_nodes = [], function listen_on_diff_bus(diffBus) { diffBus - .filter(".node_set_rm") + .filter(".node_id_set_rm") .onValue(function (diff) { var node_node_cmp = (function (a, b) { return a.id > b.id; }), node_id_cmp = (function (a, b) { return a.id === b ? 0 : (a.id > b ? 1 : -1); }); updateSelectedNodesBus(sortedArrayDiff(selected_nodes.sort(node_node_cmp), - diff.node_set_rm.sort(), node_id_cmp)); + diff.node_id_set_rm.sort(), node_id_cmp)); }); } -- cgit v1.3.1