Commit cbb3b35b authored by Roque's avatar Roque

erp5_officejs: handle error

parent ceb47fef
......@@ -110,6 +110,12 @@
{element: fragment, scope: 'form_view'})
.push(function (form_view_gadget) {
return form_view_gadget.render(gadget.state);
}, function (error) {
return gadget.notifySubmitted({
message: "Error rendering view",
status: "error"
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