Commit 93b6807f authored by Romain Courteaud's avatar Romain Courteaud

erp5_officejs: export GadgetField sandbox parameter

parent 97111e6b
......@@ -45,6 +45,7 @@ def getFieldRawProperties(field, meta_type=None, key=None, key_prefix=None):
if gadget_field_patch:
try:
result["values"]["url"] = result["values"]["gadget_url"]
result["values"]["sandbox"] = result["values"]["js_sandbox"]
result["values"]["renderjs_extra"] = result["values"]["renderjs_extra"][0][0]
except (ValueError, KeyError, IndexError):
log("error while patching form gadget list definition")
......
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