changed the wrong line
@@ -454,7 +454,7 @@ def graph_edit(request, level=None, space=None):
clicked_position = graph_action_form.cleaned_data.get('clicked_position')
if clicked_node is not None and clicked_position is None:
if active_node is None:
- active_node = None
+ active_node = clicked_node
set_active_node = True
elif active_node == clicked_node:
active_node = None
@@ -475,7 +475,7 @@ def graph_edit(request, level=None, space=None):
node.save()
messages.success(request, _('New graph node created.'))
- active_node = node
+ active_node = None
set_active_node = True
else:
messages.error(request, _('You can not edit changes on this changeset.'))
