diff --git a/src/c3nav/editor/static/editor/js/editor.js b/src/c3nav/editor/static/editor/js/editor.js index 3c7c9ced..f8b3a515 100644 --- a/src/c3nav/editor/static/editor/js/editor.js +++ b/src/c3nav/editor/static/editor/js/editor.js @@ -610,6 +610,7 @@ editor = { _dblclick_graph_other_space: function(e) { // click callback for an other graph space if (editor._loading_geometry) return; + editor._next_zoom = true; $('#id_goto_space').val(e.target.feature.properties.id).closest('form').submit(); editor.map.doubleClickZoom.disable(); }, diff --git a/src/c3nav/editor/templates/editor/graph.html b/src/c3nav/editor/templates/editor/graph.html index eee67c99..db742946 100644 --- a/src/c3nav/editor/templates/editor/graph.html +++ b/src/c3nav/editor/templates/editor/graph.html @@ -21,6 +21,11 @@
+{% if parent_url %} + +{% endif %} {% bootstrap_messages %} {% if set_active_node %} @@ -35,7 +40,7 @@ {% endif %} -