Commit 891e625b authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

erp5_web_renderjs_ui: enable Jio Actions in ERP5JS

parent 1360974c
......@@ -39,12 +39,12 @@
];
erp5_document = result;
view_list = erp5_document._links.action_workflow || [];
action_list = []; // erp5_document._links.action_object_action
action_list = erp5_document._links.action_object_action_jio || [];
if (view_list.constructor !== Array) {
view_list = [view_list];
}
if (action_list.constructor !== Array) {
view_list = [view_list];
action_list = [action_list];
}
for (i = 0; i < view_list.length; i += 1) {
promise_list.push(
......
......@@ -216,7 +216,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>cedric.le.ninivin</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>956.58742.58866.48708</string> </value>
<value> <string>960.54321.50792.6877</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1491225034.71</float>
<float>1500456255.01</float>
<string>UTC</string>
</tuple>
</state>
......
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