convert _graph_editing to bool
This commit is contained in:
parent
072edfd84b
commit
09e77b4917
2 changed files with 14 additions and 7 deletions
|
@ -378,6 +378,8 @@ def graph_edit(request, level=None, space=None):
|
|||
})
|
||||
if graph_editing_settings['click_anywhere'] != 'noop':
|
||||
graph_editing = 'edit-create-nodes'
|
||||
if graph_editing_settings['click_anywhere'] == 'create_node_if_none_active':
|
||||
graph_editing = 'edit-create-if-none-active-nodes'
|
||||
allow_clicked_position = True
|
||||
|
||||
if request.method == 'POST':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue