Commit c15bad8a authored by Titouan Soulard's avatar Titouan Soulard

erp5_json_form: DROP temporary fix for schema id

parent ee9498fb
......@@ -94,8 +94,8 @@ class JSONForm(JSONType, TextDocument):
def returnSchema(self, schema, path, REQUEST):
schema = json.loads(schema, object_pairs_hook=OrderedDict)
# Replace user URL by absolute URL
if "$id" in schema:
schema["$id"] = self.absolute_url().strip() + path
#if "$id" in schema:
schema["$id"] = self.absolute_url().strip() + path
if REQUEST is not None:
control = []
......
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