diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/view/graph_view.js | 2 | ||||
| -rw-r--r-- | src/client/view/search.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index c2271948..9f66757c 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -234,7 +234,7 @@ function GraphView(spec) { } } } - if (have_position === 0) { + if (!temporary && have_position === 0) { // avoid recursion due to layout triggering sending of new positions to db, resulting in a new diff update return; } diff --git a/src/client/view/search.js b/src/client/view/search.js index 41075c28..9ef99fc7 100644 --- a/src/client/view/search.js +++ b/src/client/view/search.js @@ -80,6 +80,7 @@ function init() { } else { selection.clear(); } + rz_core.main_graph_view.zen_mode__set(true); rz_core.update_view__graph(false); }; |
