Commit e5d83f4b authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Eteri

erp5_web_renderjs_ui: enable Jio Actions in ERP5JS

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