Commit 1f5d97ca authored by Romain Courteaud's avatar Romain Courteaud

[erp5_core/web_renderjs_ui] jIO 3.42.0

parent 83f87d6e
......@@ -8339,10 +8339,7 @@ return new Parser;
if (result instanceof RSVP.Queue) {
return result;
}
return new RSVP.Queue()
.push(function returnPushableResult() {
return result;
});
return new RSVP.Queue(result);
}
function declareMethod(klass, name, precondition_function, post_function) {
......@@ -13425,7 +13422,8 @@ return new Parser;
function extractPropertyFromFormJSON(json) {
var form = json._embedded._view,
converted_json = {
portal_type: json._links.type.name
portal_type: new URI(json._links.type.href).segment(2)
.replace("portal_types/", "")
},
form_data_json = {},
field,
......
......@@ -8339,10 +8339,7 @@ return new Parser;
if (result instanceof RSVP.Queue) {
return result;
}
return new RSVP.Queue()
.push(function returnPushableResult() {
return result;
});
return new RSVP.Queue(result);
}
function declareMethod(klass, name, precondition_function, post_function) {
......@@ -13425,7 +13422,8 @@ return new Parser;
function extractPropertyFromFormJSON(json) {
var form = json._embedded._view,
converted_json = {
portal_type: json._links.type.name
portal_type: new URI(json._links.type.href).segment(2)
.replace("portal_types/", "")
},
form_data_json = {},
field,
......
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