active_node is not required
This commit is contained in:
parent
8fefa5b5d5
commit
c43ef1ccf2
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class GraphEditorActionForm(Form):
|
||||||
|
|
||||||
GraphNode = self.request.changeset.wrap_model('GraphNode')
|
GraphNode = self.request.changeset.wrap_model('GraphNode')
|
||||||
graph_node_qs = GraphNode.objects.all()
|
graph_node_qs = GraphNode.objects.all()
|
||||||
self.fields['active_node'] = ModelChoiceField(graph_node_qs, widget=HiddenInput(), required=True)
|
self.fields['active_node'] = ModelChoiceField(graph_node_qs, widget=HiddenInput(), required=False)
|
||||||
self.fields['clicked_node'] = ModelChoiceField(graph_node_qs, widget=HiddenInput(), required=False)
|
self.fields['clicked_node'] = ModelChoiceField(graph_node_qs, widget=HiddenInput(), required=False)
|
||||||
|
|
||||||
if allow_clicked_position:
|
if allow_clicked_position:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue