Commit 12c5ef97 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_web_renderjs_ui: Add get method to erp5_jio

parent cab0b71d
...@@ -202,6 +202,9 @@ ...@@ -202,6 +202,9 @@
}; };
}); });
}) })
.declareMethod('get', function (id) {
return wrapJioCall(this, 'get', [id]);
})
.declareMethod('getAttachment', function (id, name) { .declareMethod('getAttachment', function (id, name) {
return wrapJioCall(this, 'getAttachment', [id, name, {format: "json"}]); return wrapJioCall(this, 'getAttachment', [id, name, {format: "json"}]);
}) })
......
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