Commit 9e73268a authored by Roque's avatar Roque

erp5_post: reply action uses dialog form

parent ef50c183
...@@ -49,12 +49,12 @@ ...@@ -49,12 +49,12 @@
jio_key: jio_key, jio_key: jio_key,
doc: new_document, doc: new_document,
child_gadget_url: 'gadget_erp5_pt_form_view_editable.html', child_gadget_url: 'gadget_erp5_pt_form_view_editable.html',
form_type: 'page',
form_definition: form_definition, form_definition: form_definition,
view: action_reference, view: action_reference,
editable: true, editable: true,
has_more_views: false, has_more_views: false,
has_more_actions: true, has_more_actions: true
is_form_list: false
}); });
}); });
}); });
......
...@@ -47,13 +47,13 @@ ...@@ -47,13 +47,13 @@
return gadget.changeState({ return gadget.changeState({
doc: {title: title}, doc: {title: title},
parent_document: parent_document, parent_document: parent_document,
child_gadget_url: 'gadget_erp5_pt_form_view_editable.html', child_gadget_url: 'gadget_erp5_pt_form_dialog.html',
form_type: 'dialog',
form_definition: form_definition, form_definition: form_definition,
view: action_reference, view: action_reference,
editable: true, editable: true,
has_more_views: false, has_more_views: false,
has_more_actions: false, has_more_actions: false
is_form_list: false
}); });
}); });
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment